Share via


ServerProtocolCollection.Item Property (Int32)

Gets a ServerProtocol object in the collection by index number.

Namespace:  Microsoft.SqlServer.Management.Smo.Wmi
Assembly:  Microsoft.SqlServer.SqlWmiManagement (in Microsoft.SqlServer.SqlWmiManagement.dll)

Syntax

'Declaration
Public ReadOnly Default Property Item ( _
    index As Integer _
) As ServerProtocol
    Get
'Usage
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
JScript supports the use of indexed properties, but not the declaration of new ones.

Parameters

Property Value

Type: Microsoft.SqlServer.Management.Smo.Wmi.ServerProtocol
A ServerProtocol object value that represents the server protocol.