ProtocolPropertyCollection.Item Propiedad (String)
Gets a ProtocolProperty object in the collection by name.
Espacio de nombres: Microsoft.SqlServer.Management.Smo.Wmi
Ensamblado: Microsoft.SqlServer.SqlWmiManagement (en Microsoft.SqlServer.SqlWmiManagement.dll)
Sintaxis
'Declaración
Public ReadOnly Default Property Item ( _
name As String _
) As ProtocolProperty
Get
'Uso
Dim instance As ProtocolPropertyCollection
Dim name As String
Dim value As ProtocolProperty
value = instance(name)
public ProtocolProperty this[
string name
] { get; }
public:
property ProtocolProperty^ default[String^ name] {
ProtocolProperty^ get (String^ name);
}
member Item : ProtocolProperty
JScript admite el uso de propiedades indizadas, pero no la declaración de otras nuevas.
Parámetros
- name
Tipo: System.String
A String value that specifies the name of the ProtocolProperty object in the ProtocolPropertyCollection collection.
Valor de la propiedad
Tipo: Microsoft.SqlServer.Management.Smo.Wmi.ProtocolProperty
A ProtocolProperty object value that represents an attribute of the protocol.