Proprietà ClientProtocolCollection.Item (String)
Gets a ClientProtocol 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 ClientProtocol
Get
'Utilizzo
Dim instance As ClientProtocolCollection
Dim name As String
Dim value As ClientProtocol
value = instance(name)
public ClientProtocol this[
string name
] { get; }
public:
property ClientProtocol^ default[String^ name] {
ClientProtocol^ get (String^ name);
}
member Item : ClientProtocol
JScript supporta l'utilizzo di proprietà indicizzate, ma non la dichiarazione di nuove proprietà.
Parametri
- name
Tipo: System.String
A String value that specifies the name of the ClientProtocol object in the ClientProtocolCollection collection.
Valore proprietà
Tipo: Microsoft.SqlServer.Management.Smo.Wmi.ClientProtocol
A ClientProtocol object value that represents the client protocol.