AdHocPolicyEvaluationMode Enumeration


The AdHocPolicyEvaluationMode enumeration contains values that specify the method that is used to evaluate the policy.

Namespace:   Microsoft.SqlServer.Management.Dmf
Assembly:  Microsoft.SqlServer.Dmf (in Microsoft.SqlServer.Dmf.dll)

public enum AdHocPolicyEvaluationMode

Member nameDescription

Immediately runs the policy in check mode.


Evaluates the policy using the Check SQL Script Proxy mode.


Reconfigures the targets to comply with the policy.

The AdHocPolicyEvaluationMode enumeration class is served by the Evaluate method.

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Return to top