AvailabilityGroup.AvailabilityDatabases 属性

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

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
<SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny,  _
    GetType(AvailabilityDatabase))> _
Public ReadOnly Property AvailabilityDatabases As AvailabilityDatabaseCollection 
    Get
用法
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

属性值

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

请参阅

参考

AvailabilityGroup 类

Microsoft.SqlServer.Management.Smo 命名空间