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