Compartir a través de


ServerProtocolCollection.Item[] Propiedad

Definición

Obtiene un objeto ServerProtocol de la colección basándose en el nombre o en el número de índice.

Sobrecargas

Item[Int32]

Obtiene un objeto ServerProtocol de la colección según el número de índice.

Item[String]

Obtiene un objeto ServerProtocol de la colección basándose en el nombre.

Item[Int32]

Obtiene un objeto ServerProtocol de la colección según el número de índice.

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; }
member this.Item(int) : Microsoft.SqlServer.Management.Smo.Wmi.ServerProtocol
Default Public ReadOnly Property Item(index As Integer) As ServerProtocol

Parámetros

index
Int32

Valor Int32 que especifica la posición del objeto ServerProtocol en la colección ServerProtocolCollection.

Valor de propiedad

Valor del objeto ServerProtocol que representa el protocolo de servidor.

Se aplica a

Item[String]

Obtiene un objeto ServerProtocol de la colección basándose en el nombre.

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; }
member this.Item(string) : Microsoft.SqlServer.Management.Smo.Wmi.ServerProtocol
Default Public ReadOnly Property Item(name As String) As ServerProtocol

Parámetros

name
String

Valor String que especifica el nombre del objeto ServerProtocol en la colección ServerProtocolCollection.

Valor de propiedad

Valor del objeto ServerProtocol que representa el protocolo de servidor.

Ejemplos

Usar colecciones

Se aplica a