Właściwość ServerIPAddressCollection.Item (String)
Pobiera ServerIPAddress obiektu kolekcja według nazwy.
Przestrzeń nazw: Microsoft.SqlServer.Management.Smo.Wmi
Zestaw: Microsoft.SqlServer.SqlWmiManagement (w Microsoft.SqlServer.SqlWmiManagement.dll)
Składnia
'Deklaracja
Public ReadOnly Default Property Item ( _
name As String _
) As ServerIPAddress
Get
'Użycie
Dim instance As ServerIPAddressCollection
Dim name As String
Dim value As ServerIPAddress
value = instance(name)
public ServerIPAddress this[
string name
] { get; }
public:
property ServerIPAddress^ default[String^ name] {
ServerIPAddress^ get (String^ name);
}
member Item : ServerIPAddress
Język JScript obsługuje używanie indeksowanych właściwości, ale nie obsługuje deklarowania nowych.
Parametry
- name
Typ: System.String
A String wartość, która określa nazwę ServerIPAddress obiekt w ServerIPAddressCollection kolekcja.
Wartość właściwości
Typ: Microsoft.SqlServer.Management.Smo.Wmi.ServerIPAddress
A ServerIPAddress wartość obiektu, który reprezentuje adres IP serwera.