RoleMemberCollection.Contains Method (RoleMember)

 

Applies To: SQL Server 2016 Preview

Determines whether the specified RoleMember is in the collection.

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

Syntax

public bool Contains(
    RoleMember item
)
public:
bool Contains(
    RoleMember^ item
)
member Contains : 
        item:RoleMember -> bool
Public Function Contains (
    item As RoleMember
) As Boolean

Parameters

Return Value

Type: System.Boolean

true if the specified RoleMember is found in the collection, otherwise, false.

See Also

RoleMemberCollection Class
Microsoft.AnalysisServices Namespace

Return to top