RepairPolicyAutomation 메서드

The RepairPolicyAutomation method recreates all necessary artifacts for all automated policies.

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

구문

‘선언
Public Sub RepairPolicyAutomation
‘사용 방법
Dim instance As PolicyStore

instance.RepairPolicyAutomation()
public void RepairPolicyAutomation()
public:
void RepairPolicyAutomation()
member RepairPolicyAutomation : unit -> unit 
public function RepairPolicyAutomation()

주의

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.