RoleCollection.Contains Method (Role)

 

Updated: May 24, 2016

Indicates whether the collection contains a specified Role.

Namespace:   Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

public bool Contains(
	Role item
)

Parameters

item
Type: Microsoft.AnalysisServices.Role

The Role to locate.

Return Value

Type: System.Boolean

true if the Role exists in the collection; otherwise, false.

Return to top
Show: