Compartilhar via


Método Add (CellPermissionAccess)

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

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

Sintaxe

'Declaração
Public Function Add ( _
    access As CellPermissionAccess _
) As CellPermission
'Uso
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

Valor de retorno

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