Udostępnij za pośrednictwem


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

Wartość właściwości

Typ: Microsoft.SqlServer.Management.Smo.Wmi.ProtocolProperty
A ProtocolProperty wartość obiektu, który reprezentuje atrybut protokół.