AutomatedPolicyEvaluationMode-Enumeration
The AutomatedPolicyEvaluationMode enumeration contains values that specify the Policy-Based Management automated policy evaluation modes.
Diese Enumeration verfügt über ein FlagsAttribute-Attribut, das die bitweise Kombination der Elementwerte zulässt.
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
Elemente
Elementname | Beschreibung | |
---|---|---|
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. |
Hinweise
The AutomatedPolicyEvaluationMode enumeration class is served by the AutomatedPolicyEvaluationMode property.
Beispiele
Der Namespace, die Klasse oder das Element wird nur in der Version 2.0 von Microsoft .NET Framework unterstützt.