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.