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.