Freigeben über


PropertyCollection.Item-Eigenschaft (String)

Gets an object in the collection by name.

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

Syntax

'Declaration
Public ReadOnly Default Property Item ( _
    name As String _
) As Property 
    Get
'Usage
Dim instance As PropertyCollection 
Dim name As String 
Dim value As [Property]

value = instance(name)
public Property this[
    string name
] { get; }
public:
property Property^ default[String^ name] {
    Property^ get (String^ name);
}
member Item : Property
JScript unterstützt die Verwendung indizierter Eigenschaften, aber nicht die Deklaration neuer Eigenschaften.

Parameter

  • name
    Typ: System.String
    A String value that specifies the name of the object in the collection.

Eigenschaftswert

Typ: Microsoft.SqlServer.Management.Smo.Property
An object value that represents the property.

Beispiele

Verwenden von Auflistungen

Siehe auch

Verweis

PropertyCollection Klasse

Item-Überladung

Microsoft.SqlServer.Management.Smo-Namespace

Andere Ressourcen

Verwenden von Auflistungen