Nuta
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować się zalogować lub zmienić katalog.
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować zmienić katalogi.
Gets the collection of DatabaseReplicaState objects representing the states of physical database replicas participating in the availability groups.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
<SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny, _
GetType(DatabaseReplicaState))> _
Public ReadOnly Property DatabaseReplicaStates As DatabaseReplicaStateCollection
Get
'Usage
Dim instance As AvailabilityGroup
Dim value As DatabaseReplicaStateCollection
value = instance.DatabaseReplicaStates
[SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny,
typeof(DatabaseReplicaState))]
public DatabaseReplicaStateCollection DatabaseReplicaStates { get; }
[SfcObjectAttribute(SfcContainerRelationship::ObjectContainer, SfcContainerCardinality::ZeroToAny,
typeof(DatabaseReplicaState))]
public:
property DatabaseReplicaStateCollection^ DatabaseReplicaStates {
DatabaseReplicaStateCollection^ get ();
}
[<SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny,
typeof(DatabaseReplicaState))>]
member DatabaseReplicaStates : DatabaseReplicaStateCollection
function get DatabaseReplicaStates () : DatabaseReplicaStateCollection
Property Value
Type: Microsoft.SqlServer.Management.Smo.DatabaseReplicaStateCollection
The collection of DatabaseReplicaState objects representing the states of physical database replicas participating in the availability groups.