DatabasePermissionCollection.Contains Method (DatabasePermission)
Indicates whether the collection contains the specified DatabasePermission.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Syntax
'Declaration
Public Function Contains ( _
item As DatabasePermission _
) As Boolean
'Usage
Dim instance As DatabasePermissionCollection
Dim item As DatabasePermission
Dim returnValue As Boolean
returnValue = instance.Contains(item)
public bool Contains(
DatabasePermission item
)
public:
bool Contains(
DatabasePermission^ item
)
member Contains :
item:DatabasePermission -> bool
public function Contains(
item : DatabasePermission
) : boolean
Parameters
- item
Type: Microsoft.AnalysisServices.DatabasePermission
The DatabasePermission to be located.
Return Value
Type: System.Boolean
true if the DatabasePermission is contained in the collection; otherwise, false.