AvailabilityGroup.DatabaseReplicaStates AvailabilityGroup.DatabaseReplicaStates AvailabilityGroup.DatabaseReplicaStates Property

Definition

Gets the collection of DatabaseReplicaState objects representing the states of physical database replicas participating in the availability groups.

public:
 property Microsoft::SqlServer::Management::Smo::DatabaseReplicaStateCollection ^ DatabaseReplicaStates { Microsoft::SqlServer::Management::Smo::DatabaseReplicaStateCollection ^ get(); };
[Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcObject(Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcContainerRelationship.ObjectContainer, Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcContainerCardinality.ZeroToAny, typeof(Microsoft.SqlServer.Management.Smo.DatabaseReplicaState))]
public Microsoft.SqlServer.Management.Smo.DatabaseReplicaStateCollection DatabaseReplicaStates { get; }
Public ReadOnly Property DatabaseReplicaStates As DatabaseReplicaStateCollection
Property Value

The collection of DatabaseReplicaState objects representing the states of physical database replicas participating in the availability groups.

Applies to