Freigeben über


Contains-Methode (CellPermissionAccess)

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

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

Syntax

'Declaration
Public Function Contains ( _
    access As CellPermissionAccess _
) As Boolean
'Usage
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

Rückgabewert

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