Share via


CellPermissionCollection.Add Method (CellPermissionAccess)

Creates and adds a CellPermission, with the specified CellPermissionAccess value, to the end of the collection.

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

Syntax

'Declaration
Public Function Add ( _
    access As CellPermissionAccess _
) As CellPermission
'Usage
Dim instance As CellPermissionCollection
Dim access As CellPermissionAccess
Dim returnValue As CellPermission

returnValue = instance.Add(access)
public CellPermission Add(
    CellPermissionAccess access
)
public:
CellPermission^ Add(
    CellPermissionAccess access
)
member Add : 
        access:CellPermissionAccess -> CellPermission 
public function Add(
    access : CellPermissionAccess
) : CellPermission

Parameters

Return Value

Type: Microsoft.AnalysisServices.CellPermission
A new CellPermission with the specified CellPermissionAccess value.