CubePermissionCollection.Add-Methode (String)
Creates and adds a CubePermission, with the specified identifier, to the end of the collection.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Syntax
'Declaration
Public Function Add ( _
roleId As String _
) As CubePermission
'Usage
Dim instance As CubePermissionCollection
Dim roleId As String
Dim returnValue As CubePermission
returnValue = instance.Add(roleId)
public CubePermission Add(
string roleId
)
public:
CubePermission^ Add(
String^ roleId
)
member Add :
roleId:string -> CubePermission
public function Add(
roleId : String
) : CubePermission
Parameter
- roleId
Typ: System.String
The identifier of the CubePermission to be added.
Rückgabewert
Typ: Microsoft.AnalysisServices.CubePermission
The zero-based index at which the CubePermission has been added.