DatabasePermissionCollection.Add Method (String, String)
SQL Server 2012
Creates and adds a DatabasePermission with the specified name and identifier to the end of the collection.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Parameters
- roleId
- Type: System.String
The name of the DatabasePermission to be added.
- name
- Type: System.String
The identifier of the DatabasePermission to be added.
Return Value
Type: Microsoft.AnalysisServices.DatabasePermissionThe zero-based index at which the DatabasePermission has been added.
