Metoda AccountCollection.IndexOf (String)
Pobiera indeks Account ma określony identyfikator.
Przestrzeń nazw: Microsoft.AnalysisServices
Zestaw: Microsoft.AnalysisServices (w Microsoft.AnalysisServices.dll)
Składnia
'Deklaracja
Public Function IndexOf ( _
accountType As String _
) As Integer
'Użycie
Dim instance As AccountCollection
Dim accountType As String
Dim returnValue As Integer
returnValue = instance.IndexOf(accountType)
public int IndexOf(
string accountType
)
public:
int IndexOf(
String^ accountType
)
member IndexOf :
accountType:string -> int
public function IndexOf(
accountType : String
) : int
Parametry
- accountType
Typ: System.String
Identyfikator Account się znajdować.
Wartość zwracana
Typ: System.Int32
Indeks od zera Account określonych przez accountType , jeśli obiekt znajduje się; w przeciwnym razie -1.
Zobacz także