Nota:
El acceso a esta página requiere autorización. Puede intentar iniciar sesión o cambiar directorios.
El acceso a esta página requiere autorización. Puede intentar cambiar los directorios.
The RepairPolicyAutomation method recreates all necessary artifacts for all automated policies.
Espacio de nombres: Microsoft.SqlServer.Management.Dmf
Ensamblado: Microsoft.SqlServer.Dmf (en Microsoft.SqlServer.Dmf.dll)
Sintaxis
'Declaración
Public Sub RepairPolicyAutomation
'Uso
Dim instance As PolicyStore
instance.RepairPolicyAutomation()
public void RepairPolicyAutomation()
public:
void RepairPolicyAutomation()
member RepairPolicyAutomation : unit -> unit
public function RepairPolicyAutomation()
Comentarios
If there is a reason to suspect that something is not working, for example, if somebody manually removed a job or schedule, this procedure can be executed to restore the proper state of policy automation. That includes scheduled and on-change policies.