Share via


EvaluationModeAttribute Constructor

Initializes a new instance of the EvaluationModeAttribute class that has the specified evaluation mode.

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

Syntax

'Declaration
Public Sub New ( _
    evaluationModes As AutomatedPolicyEvaluationMode _
)
'Usage
Dim evaluationModes As AutomatedPolicyEvaluationMode

Dim instance As New EvaluationModeAttribute(evaluationModes)
public EvaluationModeAttribute(
    AutomatedPolicyEvaluationMode evaluationModes
)
public:
EvaluationModeAttribute(
    AutomatedPolicyEvaluationMode evaluationModes
)
new : 
        evaluationModes:AutomatedPolicyEvaluationMode -> EvaluationModeAttribute
public function EvaluationModeAttribute(
    evaluationModes : AutomatedPolicyEvaluationMode
)

Parameters

Remarks

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