Udostępnij za pośrednictwem


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

Pobiera ServerProtocol 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 ServerProtocol
    Get
'Użycie
Dim instance As ServerProtocolCollection
Dim index As Integer
Dim value As ServerProtocol

value = instance(index)
public ServerProtocol this[
    int index
] { get; }
public:
property ServerProtocol^ default[int index] {
    ServerProtocol^ get (int index);
}
member Item : ServerProtocol
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.ServerProtocol
A ServerProtocol wartość obiektu, który reprezentuje protokół serwera.