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.