Service.ChangeHadrServiceSetting 메서드
Changes the HA/DR service settings.
네임스페이스: Microsoft.SqlServer.Management.Smo.Wmi
어셈블리: Microsoft.SqlServer.SqlWmiManagement(Microsoft.SqlServer.SqlWmiManagement.dll)
구문
‘선언
Public Sub ChangeHadrServiceSetting ( _
enable As Boolean _
)
‘사용 방법
Dim instance As Service
Dim enable As Boolean
instance.ChangeHadrServiceSetting(enable)
public void ChangeHadrServiceSetting(
bool enable
)
public:
void ChangeHadrServiceSetting(
bool enable
)
member ChangeHadrServiceSetting :
enable:bool -> unit
public function ChangeHadrServiceSetting(
enable : boolean
)
매개 변수
- enable
유형: System.Boolean
The status of the HA/DR service settings.