AutomatedPolicyEvaluationMode 枚举
The AutomatedPolicyEvaluationMode enumeration contains values that specify the Policy-Based Management automated policy evaluation modes.
此枚举具有可以使用其成员值位组合的 FlagsAttribute 属性。
命名空间: Microsoft.SqlServer.Management.Dmf
程序集: Microsoft.SqlServer.Dmf(在 Microsoft.SqlServer.Dmf.dll 中)
语法
声明
<FlagsAttribute> _
Public Enumeration AutomatedPolicyEvaluationMode
用法
Dim instance As AutomatedPolicyEvaluationMode
[FlagsAttribute]
public enum AutomatedPolicyEvaluationMode
[FlagsAttribute]
public enum class AutomatedPolicyEvaluationMode
[<FlagsAttribute>]
type AutomatedPolicyEvaluationMode
public enum AutomatedPolicyEvaluationMode
成员
成员名称 | 说明 | |
---|---|---|
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. | |
Enforce | This mode uses DDL triggers to evaluate and prevent policy violations. | |
None | There is no policy checking. |
注释
The AutomatedPolicyEvaluationMode enumeration class is served by the AutomatedPolicyEvaluationMode property.
示例
仅 Microsoft .NET Framework 的 2.0 版本支持此命名空间、类或成员。