Dela via


Policy.AutomatedPolicyEvaluationMode Property

Gets or sets the evaluation mode.

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

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Required)> _
Public Property AutomatedPolicyEvaluationMode As AutomatedPolicyEvaluationMode
    Get
    Set
'Usage
Dim instance As Policy
Dim value As AutomatedPolicyEvaluationMode

value = instance.AutomatedPolicyEvaluationMode

instance.AutomatedPolicyEvaluationMode = value
[SfcPropertyAttribute(SfcPropertyFlags.Required)]
public AutomatedPolicyEvaluationMode AutomatedPolicyEvaluationMode { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::Required)]
public:
property AutomatedPolicyEvaluationMode AutomatedPolicyEvaluationMode {
    AutomatedPolicyEvaluationMode get ();
    void set (AutomatedPolicyEvaluationMode value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.Required)>]
member AutomatedPolicyEvaluationMode : AutomatedPolicyEvaluationMode with get, set
function get AutomatedPolicyEvaluationMode () : AutomatedPolicyEvaluationMode
function set AutomatedPolicyEvaluationMode (value : AutomatedPolicyEvaluationMode)

Property Value

Type: Microsoft.SqlServer.Management.Dmf.AutomatedPolicyEvaluationMode
The evaluation mode.