Share via


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)

Syntax

'Declaration
Public Enumeration AdHocPolicyEvaluationMode
'Usage
Dim instance As AdHocPolicyEvaluationMode
public enum AdHocPolicyEvaluationMode
public enum class AdHocPolicyEvaluationMode
type AdHocPolicyEvaluationMode
public enum AdHocPolicyEvaluationMode

Members

Member name Description
Check Immediately runs the policy in check mode.
Configure Reconfigures the targets to comply with the policy.
CheckSqlScriptAsProxy Evaluates the policy using the Check SQL Script Proxy mode.

Remarks

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.