다음을 통해 공유


AvailabilityReplica.FailoverMode 속성

Gets or sets the failover mode of the availability replica.

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

구문

‘선언
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property FailoverMode As AvailabilityReplicaFailoverMode 
    Get 
    Set
‘사용 방법
Dim instance As AvailabilityReplica 
Dim value As AvailabilityReplicaFailoverMode 

value = instance.FailoverMode

instance.FailoverMode = value
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public AvailabilityReplicaFailoverMode FailoverMode { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property AvailabilityReplicaFailoverMode FailoverMode {
    AvailabilityReplicaFailoverMode get ();
    void set (AvailabilityReplicaFailoverMode value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member FailoverMode : AvailabilityReplicaFailoverMode with get, set
function get FailoverMode () : AvailabilityReplicaFailoverMode 
function set FailoverMode (value : AvailabilityReplicaFailoverMode)

속성 값

유형: Microsoft.SqlServer.Management.Smo.AvailabilityReplicaFailoverMode
The failover mode of the availability replica.

참고 항목

참조

AvailabilityReplica 클래스

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