CubeDimensionPermissionCollection.Contains Method

Definition

Overloads

Contains(CubeDimensionPermission)

Indicates whether the collection contains the specified CubeDimensionPermission.

Contains(String)

Indicates whether the collection contains a CubeDimensionPermission with the specified CubeDimensionID.

Contains(CubeDimensionPermission)

Indicates whether the collection contains the specified CubeDimensionPermission.

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

Parameters

Returns

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

Applies to

Contains(String)

Indicates whether the collection contains a CubeDimensionPermission with the specified CubeDimensionID.

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

Parameters

cubeDimensionId
String

The CubeDimensionID of the CubeDimensionPermission to be located.

Returns

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

Exceptions

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

Applies to