AvailabilityGroup.Failover 메서드
Performs a manual failover of this availability group to the server specified by the Parent property with no possibility of data loss.
네임스페이스: Microsoft.SqlServer.Management.Smo
어셈블리: Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)
구문
‘선언
Public Sub Failover
‘사용 방법
Dim instance As AvailabilityGroup
instance.Failover()
public void Failover()
public:
void Failover()
member Failover : unit -> unit
public function Failover()
주의
This server should be participating in the availability group as a secondary replica. The result of the action will be to designate this server as the primary of this availability group.