Metoda RoleCollection.IndexOf (Role)
Pobiera indeks określonego Role.
Przestrzeń nazw: Microsoft.AnalysisServices
Zestaw: Microsoft.AnalysisServices (w Microsoft.AnalysisServices.dll)
Składnia
'Deklaracja
Public Function IndexOf ( _
item As Role _
) As Integer
'Użycie
Dim instance As RoleCollection
Dim item As Role
Dim returnValue As Integer
returnValue = instance.IndexOf(item)
public int IndexOf(
Role item
)
public:
int IndexOf(
Role^ item
)
member IndexOf :
item:Role -> int
public function IndexOf(
item : Role
) : int
Parametry
- item
Typ: Microsoft.AnalysisServices.Role
Role Do zwrotu.
Wartość zwracana
Typ: System.Int32
Indeksu z Role , jeśli obiekt znajduje się; w przeciwnym razie -1.
Zobacz także