RoleMemberCollection.IndexOf(RoleMember) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Searches for the specified RoleMember and returns its zero-based index within the collection.
public int IndexOf (Microsoft.AnalysisServices.RoleMember item);
member this.IndexOf : Microsoft.AnalysisServices.RoleMember -> int
Public Function IndexOf (item As RoleMember) As Integer
Parameters
- item
- RoleMember
The RoleMember to locate.
Returns
The zero-based index of the RoleMember in the collection, if found; otherwise, -1.