Metodo Service.ChangeHadrServiceSetting
Changes the HA/DR service settings.
Spazio dei nomi Microsoft.SqlServer.Management.Smo.Wmi
Assembly: Microsoft.SqlServer.SqlWmiManagement (in Microsoft.SqlServer.SqlWmiManagement.dll)
Sintassi
'Dichiarazione
Public Sub ChangeHadrServiceSetting ( _
enable As Boolean _
)
'Utilizzo
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
)
Parametri
- enable
Tipo: System.Boolean
The status of the HA/DR service settings.