Condition.GetSupportedEvaluationMode Method
Gets the evaluation mode for the condition.
Namespace: Microsoft.SqlServer.Management.Dmf
Assembly: Microsoft.SqlServer.Dmf (in Microsoft.SqlServer.Dmf.dll)
Syntax
'Declaration
Public Function GetSupportedEvaluationMode As AutomatedPolicyEvaluationMode
'Usage
Dim instance As Condition
Dim returnValue As AutomatedPolicyEvaluationMode
returnValue = instance.GetSupportedEvaluationMode()
public AutomatedPolicyEvaluationMode GetSupportedEvaluationMode()
public:
AutomatedPolicyEvaluationMode GetSupportedEvaluationMode()
member GetSupportedEvaluationMode : unit -> AutomatedPolicyEvaluationMode
public function GetSupportedEvaluationMode() : AutomatedPolicyEvaluationMode
Return Value
Type: Microsoft.SqlServer.Management.Dmf.AutomatedPolicyEvaluationMode
An AutomatedPolicyEvalutationMode object that specifies the execution mode for the condition.
Examples
C#
AutomatedPolicyEvaluationMode evalMode = new AutomatedEvaluationMode;
evalMode = c.GetSupportedEvaluationMode();
VB
Dim evalMode As AutomatedPolicyEvaluationMode
evalMode = New AutomatedEvaluationMode
evalMode = c.GetSupportedEvaluationMode()