Freigeben über


ProtocolPropertyCollection.Item-Eigenschaft (String)

Gets a ProtocolProperty 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 ProtocolProperty 
    Get
'Usage
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 unterstützt die Verwendung indizierter Eigenschaften, aber nicht die Deklaration neuer Eigenschaften.

Parameter

Eigenschaftswert

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

Beispiele

Verwenden von Auflistungen

Siehe auch

Verweis

ProtocolPropertyCollection Klasse

Item-Überladung

Microsoft.SqlServer.Management.Smo.Wmi-Namespace