Udostępnij za pośrednictwem


AutomatedPolicyEvaluationMode Enumeration

The AutomatedPolicyEvaluationMode enumeration contains values that specify the Policy-Based Management automated policy evaluation modes.

Namespace: Microsoft.SqlServer.Management.Dmf
Assembly: Microsoft.SqlServer.Dmf (in microsoft.sqlserver.dmf.dll)

Syntax

'Deklaracja
<FlagsAttribute> _
Public Enumeration AutomatedPolicyEvaluationMode
[FlagsAttribute] 
public enum AutomatedPolicyEvaluationMode
[FlagsAttribute] 
public enum class AutomatedPolicyEvaluationMode
/** @attribute FlagsAttribute() */ 
public enum AutomatedPolicyEvaluationMode
FlagsAttribute 
public enum AutomatedPolicyEvaluationMode

Members

Member name Description
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.

Remarks

The AutomatedPolicyEvaluationMode enumeration class is served by the AutomatedPolicyEvaluationMode property.

Example

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.

Target Platforms

Windows 98, Windows 2000, Windows 2000 Server, Windows CE, Windows Server 2008, Windows 98 Second Edition, Pocket PC, Smart Phone, Windows Server 2003, Windows XP Professional with Service Pack 2 (SP2), Windows 2000 Professional, Windows 2000 Advanced Server, Windows XP Home Edition, For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server., Windows Vista, Windows Mobile 5.0, Windows Mobile 2003 for Pocket PC, Windows CE 5.0