Delen via


CubeDimensionPermissionCollection.Add Method (String)

Creates and adds a CubeDimensionPermission, 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 ( _
    cubeDimensionId As String _
) As CubeDimensionPermission
'Usage
Dim instance As CubeDimensionPermissionCollection 
Dim cubeDimensionId As String 
Dim returnValue As CubeDimensionPermission 

returnValue = instance.Add(cubeDimensionId)
public CubeDimensionPermission Add(
    string cubeDimensionId
)
public:
CubeDimensionPermission^ Add(
    String^ cubeDimensionId
)
member Add : 
        cubeDimensionId:string -> CubeDimensionPermission
public function Add(
    cubeDimensionId : String
) : CubeDimensionPermission

Parameters

Return Value

Type: Microsoft.AnalysisServices.CubeDimensionPermission
The zero-based index at which the CubeDimensionPermission has been added.

See Also

Reference

CubeDimensionPermissionCollection Class

Add Overload

Microsoft.AnalysisServices Namespace