다음을 통해 공유


AvailabilityGroupAutomatedBackupPreference 열거형

Specifies how replicas in the primary role are treated in the evaluation to pick the desired replica to perform a backup.

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.SqlEnum(Microsoft.SqlServer.SqlEnum.dll)

구문

‘선언
Public Enumeration AvailabilityGroupAutomatedBackupPreference
‘사용 방법
Dim instance As AvailabilityGroupAutomatedBackupPreference
public enum AvailabilityGroupAutomatedBackupPreference
public enum class AvailabilityGroupAutomatedBackupPreference
type AvailabilityGroupAutomatedBackupPreference
public enum AvailabilityGroupAutomatedBackupPreference

멤버

멤버 이름 설명
None No preference is stated for backup on replicas based on its current role. Only BackupPriority and online/connected states will be considered for replica choice.
Primary Backups occur only on the primary replica, wherever it is.
Secondary Backups occur on the secondary replicas, except when the primary replica is the only replica online.
SecondaryOnly Backups occur only on the secondary replicas. If no secondary replicas are online, backup will not be performed.
Unknown The desired replica to perform a backup is unknown.

참고 항목

참조

Microsoft.SqlServer.Management.Smo 네임스페이스