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