AvailabilityReplicaRole Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The current role a replica is playing in an availability group.
[System.ComponentModel.TypeConverter(typeof(Microsoft.SqlServer.Management.Smo.AvailabilityReplicaRoleConverter))]
public enum AvailabilityReplicaRole
[<System.ComponentModel.TypeConverter(typeof(Microsoft.SqlServer.Management.Smo.AvailabilityReplicaRoleConverter))>]
type AvailabilityReplicaRole =
Public Enum AvailabilityReplicaRole
- Inheritance
-
AvailabilityReplicaRole
- Attributes
Fields
Name | Value | Description |
---|---|---|
Resolving | 0 | The replica is in a resolving state |
Primary | 1 | The replica is the current primary in the availability group |
Secondary | 2 | The replica is a secondary in the availability group |
Unknown | 3 | The replica is in an unknown state. |