Compartilhar via


Propriedade do RDL ProtocolPropertyCollection.Item (String)

Gets a ProtocolProperty object in the collection by name.

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

Sintaxe

'Declaração
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 dá suporte ao uso de propriedades indexadas, mas não à declaração de propriedades novas.

Parâmetros

Valor da propriedade

Tipo: Microsoft.SqlServer.Management.Smo.Wmi.ProtocolProperty
A ProtocolProperty object value that represents an attribute of the protocol.

Exemplos

Usando coleções

Consulte também

Referência

ProtocolPropertyCollection Classe

Sobrecarregado Item

Namespace Microsoft.SqlServer.Management.Smo.Wmi