Freigeben über


ClientProtocolCollection.Item-Eigenschaft (String)

Gets a ClientProtocol object in the collection by name.

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

Syntax

'Declaration
Public ReadOnly Default Property Item ( _
    name As String _
) As ClientProtocol 
    Get
'Usage
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 unterstützt die Verwendung indizierter Eigenschaften, aber nicht die Deklaration neuer Eigenschaften.

Parameter

Eigenschaftswert

Typ: Microsoft.SqlServer.Management.Smo.Wmi.ClientProtocol
A ClientProtocol object value that represents the client protocol.

Beispiele

Verwenden von Auflistungen

Siehe auch

Verweis

ClientProtocolCollection Klasse

Item-Überladung

Microsoft.SqlServer.Management.Smo.Wmi-Namespace