Share via


AttributePermissionCollection.Contains Method

Definition

Overloads

Contains(AttributePermission)

Indicates whether the collection contains the specified AttributePermission.

Contains(String)

Indicates whether the collection contains an AttributePermission with the specified AttributeID.

Contains(AttributePermission)

Indicates whether the collection contains the specified AttributePermission.

public bool Contains (Microsoft.AnalysisServices.AttributePermission item);
override this.Contains : Microsoft.AnalysisServices.AttributePermission -> bool
Public Function Contains (item As AttributePermission) As Boolean

Parameters

item
AttributePermission

The AttributePermission to be located.

Returns

True, if the specified AttributePermission is found in the collection, otherwise, false.

Applies to

Contains(String)

Indicates whether the collection contains an AttributePermission with the specified AttributeID.

public bool Contains (string attributeId);
override this.Contains : string -> bool
Public Function Contains (attributeId As String) As Boolean

Parameters

attributeId
String

The AttributeID of the AttributePermission to be located.

Returns

True, if the specified AttributePermission is found in the collection, otherwise, false.

Exceptions

The specified attributeId is a null reference (Nothing in Visual Basic).

Applies to