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
CheckImmediately runs the policy in check mode.
ConfigureReconfigures the targets to comply with the policy.
CheckSqlScriptAsProxyEvaluates the policy using the Check SQL Script Proxy mode.

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.

Community Additions