ProtocolPropertyCollection.Item[] Propiedad

Definición

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

Sobrecargas

Item[Int32]

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

Item[String]

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

Item[Int32]

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

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

Parámetros

index
Int32

Valor Int32 que especifica la posición del objeto ProtocolProperty en la colección ProtocolPropertyCollection.

Valor de propiedad

Valor del objeto ProtocolProperty que representa un atributo del protocolo.

Se aplica a

Item[String]

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

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

Parámetros

name
String

Valor String que especifica el nombre del objeto ProtocolProperty en la colección ProtocolPropertyCollection.

Valor de propiedad

Valor del objeto ProtocolProperty que representa un atributo del protocolo.

Ejemplos

Usar colecciones

Se aplica a