Sdílet prostřednictvím


CellPermissionCollection.Add Method (CellPermission)

Adds a CellPermission to the end of the collection.

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

Syntax

'Declaration
Public Function Add ( _
    item As CellPermission _
) As Integer
'Usage
Dim instance As CellPermissionCollection
Dim item As CellPermission
Dim returnValue As Integer

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

Parameters

Return Value

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