Dela via


CubeDimensionPermissionCollection.Add Method (CubeDimensionPermission)

Adds a CubeDimensionPermission to the end of the collection.

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Syntax

'Declaration
Public Function Add ( _
    item As CubeDimensionPermission _
) As Integer
'Usage
Dim instance As CubeDimensionPermissionCollection
Dim item As CubeDimensionPermission
Dim returnValue As Integer

returnValue = instance.Add(item)
public int Add(
    CubeDimensionPermission item
)
public:
int Add(
    CubeDimensionPermission^ item
)
member Add : 
        item:CubeDimensionPermission -> int 
public function Add(
    item : CubeDimensionPermission
) : int

Return Value

Type: System.Int32
The zero-based index at which the CubeDimensionPermission has been added.