Partilhar via


Propriedade do RDL AvailabilityGroup.AvailabilityDatabases

Gets the collection of availability databases contained in the availability group.

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

Sintaxe

'Declaração
<SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny,  _
    GetType(AvailabilityDatabase))> _
Public ReadOnly Property AvailabilityDatabases As AvailabilityDatabaseCollection 
    Get
'Uso
Dim instance As AvailabilityGroup 
Dim value As AvailabilityDatabaseCollection 

value = instance.AvailabilityDatabases
[SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny, 
    typeof(AvailabilityDatabase))]
public AvailabilityDatabaseCollection AvailabilityDatabases { get; }
[SfcObjectAttribute(SfcContainerRelationship::ObjectContainer, SfcContainerCardinality::ZeroToAny, 
    typeof(AvailabilityDatabase))]
public:
property AvailabilityDatabaseCollection^ AvailabilityDatabases {
    AvailabilityDatabaseCollection^ get ();
}
[<SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny, 
    typeof(AvailabilityDatabase))>]
member AvailabilityDatabases : AvailabilityDatabaseCollection
function get AvailabilityDatabases () : AvailabilityDatabaseCollection

Valor da propriedade

Tipo: Microsoft.SqlServer.Management.Smo.AvailabilityDatabaseCollection
The collection of availability databases contained in the availability group.

Consulte também

Referência

AvailabilityGroup Classe

Namespace Microsoft.SqlServer.Management.Smo