다음을 통해 공유


AvailabilityGroup.AvailabilityReplicas 속성

Gets the collection of availability replicas participating in the availability group.

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)

구문

‘선언
<SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.OneToAny,  _
    GetType(AvailabilityReplica))> _
Public ReadOnly Property AvailabilityReplicas As AvailabilityReplicaCollection 
    Get
‘사용 방법
Dim instance As AvailabilityGroup 
Dim value As AvailabilityReplicaCollection 

value = instance.AvailabilityReplicas
[SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.OneToAny, 
    typeof(AvailabilityReplica))]
public AvailabilityReplicaCollection AvailabilityReplicas { get; }
[SfcObjectAttribute(SfcContainerRelationship::ObjectContainer, SfcContainerCardinality::OneToAny, 
    typeof(AvailabilityReplica))]
public:
property AvailabilityReplicaCollection^ AvailabilityReplicas {
    AvailabilityReplicaCollection^ get ();
}
[<SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.OneToAny, 
    typeof(AvailabilityReplica))>]
member AvailabilityReplicas : AvailabilityReplicaCollection
function get AvailabilityReplicas () : AvailabilityReplicaCollection

속성 값

유형: Microsoft.SqlServer.Management.Smo.AvailabilityReplicaCollection
The collection of availability replicas participating in the availability group.

참고 항목

참조

AvailabilityGroup 클래스

Microsoft.SqlServer.Management.Smo 네임스페이스