ServerProtocolCollection.Item[String] ServerProtocolCollection.Item[String] ServerProtocolCollection.Item[String] Property

Definition

Overloads

Item[Int32] Item[Int32] Item[Int32]

Gets a ServerProtocol object in the collection by index number.

Item[String] Item[String] Item[String]

Gets a ServerProtocol object in the collection by name.

Item[Int32] Item[Int32] Item[Int32]

Gets a ServerProtocol object in the collection by index number.

public:
 property Microsoft::SqlServer::Management::Smo::Wmi::ServerProtocol ^ default[int] { Microsoft::SqlServer::Management::Smo::Wmi::ServerProtocol ^ get(int index); };
public Microsoft.SqlServer.Management.Smo.Wmi.ServerProtocol this[int index] { get; }
Default Public ReadOnly Property Item(index As Integer) As ServerProtocol
Parameters
index
Int32 Int32 Int32

An Int32 value that specifies the position of the ServerProtocol object in the ServerProtocolCollection collection.

Property Value

A ServerProtocol object value that represents the server protocol.

Item[String] Item[String] Item[String]

Gets a ServerProtocol object in the collection by name.

public:
 property Microsoft::SqlServer::Management::Smo::Wmi::ServerProtocol ^ default[System::String ^] { Microsoft::SqlServer::Management::Smo::Wmi::ServerProtocol ^ get(System::String ^ name); };
public Microsoft.SqlServer.Management.Smo.Wmi.ServerProtocol this[string name] { get; }
Default Public ReadOnly Property Item(name As String) As ServerProtocol
Parameters
name
String String String

A String value that specifies the name of the ServerProtocol object in the ServerProtocolCollection collection.

Property Value

A ServerProtocol object value that represents the server protocol.

Examples

Using Collections

Applies to