Compartilhar via


Método Contains (CellPermissionAccess)

Indicates whether the collection contains a CellPermission with the specified CellPermissionAccess value.

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

Sintaxe

'Declaração
Public Function Contains ( _
    access As CellPermissionAccess _
) As Boolean
'Uso
Dim instance As CellPermissionCollection
Dim access As CellPermissionAccess
Dim returnValue As Boolean

returnValue = instance.Contains(access)
public bool Contains(
    CellPermissionAccess access
)
public:
bool Contains(
    CellPermissionAccess access
)
member Contains : 
        access:CellPermissionAccess -> bool 
public function Contains(
    access : CellPermissionAccess
) : boolean

Parâmetros

Valor de retorno

Tipo: System. . :: . .Boolean
true if the CellPermission is contained in the collection; otherwise, false.