Condividi tramite


Proprietà ProtocolPropertyCollection.Item (String)

Gets a ProtocolProperty object in the collection by name.

Spazio dei nomi  Microsoft.SqlServer.Management.Smo.Wmi
Assembly:  Microsoft.SqlServer.SqlWmiManagement (in Microsoft.SqlServer.SqlWmiManagement.dll)

Sintassi

'Dichiarazione
Public ReadOnly Default Property Item ( _
    name As String _
) As ProtocolProperty 
    Get
'Utilizzo
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 supporta l'utilizzo di proprietà indicizzate, ma non la dichiarazione di nuove proprietà.

Parametri

Valore proprietà

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

Esempi

Utilizzo delle raccolte

Vedere anche

Riferimento

ProtocolPropertyCollection Classe

Overload Item

Spazio dei nomi Microsoft.SqlServer.Management.Smo.Wmi