AvailabilityDatabaseCollection.Item-Eigenschaft (String)
Gets the specified item from the collection.
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 AvailabilityDatabase
Get
'Usage
Dim instance As AvailabilityDatabaseCollection
Dim name As String
Dim value As AvailabilityDatabase
value = instance(name)
public AvailabilityDatabase this[
string name
] { get; }
public:
property AvailabilityDatabase^ default[String^ name] {
AvailabilityDatabase^ get (String^ name);
}
member Item : AvailabilityDatabase
JScript unterstützt die Verwendung indizierter Eigenschaften, aber nicht die Deklaration neuer Eigenschaften.
Parameter
- name
Typ: System.String
The string that identifies the item.
Eigenschaftswert
Typ: Microsoft.SqlServer.Management.Smo.AvailabilityDatabase
The specified item in the collection.