다음을 통해 공유


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 네임스페이스