AutomatedPolicyEvaluationMode Enumeration
The AutomatedPolicyEvaluationMode enumeration contains values that specify the Policy-Based Management automated policy evaluation modes.
This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.
Namespace: Microsoft.SqlServer.Management.Dmf
Assembly: Microsoft.SqlServer.Dmf (in Microsoft.SqlServer.Dmf.dll)
Syntax
'Declaration
<FlagsAttribute> _
Public Enumeration AutomatedPolicyEvaluationMode
'Usage
Dim instance As AutomatedPolicyEvaluationMode
[FlagsAttribute]
public enum AutomatedPolicyEvaluationMode
[FlagsAttribute]
public enum class AutomatedPolicyEvaluationMode
[<FlagsAttribute>]
type AutomatedPolicyEvaluationMode
public enum AutomatedPolicyEvaluationMode
Members
Member name | Description | |
---|---|---|
None | There is no policy checking. | |
Enforce | This mode uses DDL triggers to evaluate and prevent policy violations. | |
CheckOnChanges | This modes uses event notification to evaluate policies when changes are made. | |
CheckOnSchedule | This mode uses SQL Server Agent job to schedule policy evaluations. |
Remarks
The AutomatedPolicyEvaluationMode enumeration class is served by the AutomatedPolicyEvaluationMode property.
Examples
This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.