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
成員
成員名稱 | 說明 | |
---|---|---|
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. |
備註
The AutomatedPolicyEvaluationMode enumeration class is served by the AutomatedPolicyEvaluationMode property.
範例
只有 Microsoft .NET Framework 2.0 版支援此命名空間、類別或成員。