RoleMemberCollection.Contains Method (RoleMember)
Applies To: SQL Server (starting with 2016)
Determines whether the specified RoleMember is in the collection.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices.Core (in Microsoft.AnalysisServices.Core.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
item
Type: Microsoft.AnalysisServices.RoleMemberThe RoleMember to verify if it’s in the collection.
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