Udostępnij za pośrednictwem


Właściwość ServerIPAddressCollection.Item (Int32)

Pobiera ServerIPAddress obiektu kolekcja według numeru indeksu.

Przestrzeń nazw:  Microsoft.SqlServer.Management.Smo.Wmi
Zestaw:  Microsoft.SqlServer.SqlWmiManagement (w Microsoft.SqlServer.SqlWmiManagement.dll)

Składnia

'Deklaracja
Public ReadOnly Default Property Item ( _
    index As Integer _
) As ServerIPAddress
    Get
'Użycie
Dim instance As ServerIPAddressCollection
Dim index As Integer
Dim value As ServerIPAddress

value = instance(index)
public ServerIPAddress this[
    int index
] { get; }
public:
property ServerIPAddress^ default[int index] {
    ServerIPAddress^ get (int index);
}
member Item : ServerIPAddress
Język JScript obsługuje używanie indeksowanych właściwości, ale nie obsługuje deklarowania nowych.

Parametry

Wartość właściwości

Typ: Microsoft.SqlServer.Management.Smo.Wmi.ServerIPAddress
A ServerIPAddress wartość obiektu, który reprezentuje adres IP serwera.