Właściwość ProtocolPropertyCollection.Item (String)
Pobiera ProtocolProperty 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 ProtocolProperty
Get
'Użycie
Dim instance As ProtocolPropertyCollection
Dim name As String
Dim value As ProtocolProperty
value = instance(name)
public ProtocolProperty this[
string name
] { get; }
public:
property ProtocolProperty^ default[String^ name] {
ProtocolProperty^ get (String^ name);
}
member Item : ProtocolProperty
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ę ProtocolProperty obiekt w ProtocolPropertyCollection kolekcja.
Wartość właściwości
Typ: Microsoft.SqlServer.Management.Smo.Wmi.ProtocolProperty
A ProtocolProperty wartość obiektu, który reprezentuje atrybut protokół.