Partager via


Contains méthode (CellPermissionAccess)

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

Espace de noms :  Microsoft.AnalysisServices
Assembly :  Microsoft.AnalysisServices (dans Microsoft.AnalysisServices.dll)

Syntaxe

'Déclaration
Public Function Contains ( _
    access As CellPermissionAccess _
) As Boolean
'Utilisation
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

Paramètres

Valeur de retour

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