Właściwość ProtocolPropertyCollection.Item (Int32)
Pobiera ProtocolPropertyCollection 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 ProtocolProperty
Get
'Użycie
Dim instance As ProtocolPropertyCollection
Dim index As Integer
Dim value As ProtocolProperty
value = instance(index)
public ProtocolProperty this[
int index
] { get; }
public:
property ProtocolProperty^ default[int index] {
ProtocolProperty^ get (int index);
}
member Item : ProtocolProperty
Język JScript obsługuje używanie indeksowanych właściwości, ale nie obsługuje deklarowania nowych.
Parametry
- index
Typ: System.Int32
Int32 Wartość, która określa położenie 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ół.