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