Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Searches for the specified RoleMember and returns its zero-based index within the collection.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Syntax
'Declaration
Public Function IndexOf ( _
item As RoleMember _
) As Integer
'Usage
Dim instance As RoleMemberCollection
Dim item As RoleMember
Dim returnValue As Integer
returnValue = instance.IndexOf(item)
public int IndexOf(
RoleMember item
)
public:
int IndexOf(
RoleMember^ item
)
member IndexOf :
item:RoleMember -> int
public function IndexOf(
item : RoleMember
) : int
Parameters
- item
Type: Microsoft.AnalysisServices.RoleMember
The RoleMember to locate.
Return Value
Type: System.Int32
The zero-based index of the RoleMember in the collection, if found; otherwise, -1.