Aracılığıyla paylaş


AvailabilityDatabaseCollection.Item Property (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

'Bildirim
Public ReadOnly Default Property Item ( _
    index As Integer _
) As AvailabilityDatabase
    Get
'Kullanım
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 supports the use of indexed properties, but not the declaration of new ones.

Parameters

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

Property Value

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

See Also

Reference

AvailabilityDatabaseCollection Class

Item Overload

Microsoft.SqlServer.Management.Smo Namespace