Udostępnij za pośrednictwem


AvailabilityReplicaRole Enum

Definition

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.

Applies to