Freigeben über


AvailabilityDatabaseCollection.Item-Eigenschaft (Int32)

Gets the entry at the specified index of the AvailabilityDatabaseCollection.

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

Syntax

'Declaration
Public ReadOnly Default Property Item ( _
    index As Integer _
) As AvailabilityDatabase 
    Get
'Usage
Dim instance As AvailabilityDatabaseCollection 
Dim index As Integer 
Dim value As AvailabilityDatabase 

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

Parameter

  • index
    Typ: System.Int32
    The zero-based index of the entry to locate in the collection.

Eigenschaftswert

Typ: Microsoft.SqlServer.Management.Smo.AvailabilityDatabase
The specified index of the collection.

Siehe auch

Verweis

AvailabilityDatabaseCollection Klasse

Item-Überladung

Microsoft.SqlServer.Management.Smo-Namespace