Utils.GetEvaluationModeByDescription Method

Gets the evaluation mode from the execModeDescription parameter.

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

Syntax

'Declaration
Public Shared Function GetEvaluationModeByDescription ( _
    execModeDescription As String _
) As AutomatedPolicyEvaluationMode
'Usage
Dim execModeDescription As String
Dim returnValue As AutomatedPolicyEvaluationMode

returnValue = Utils.GetEvaluationModeByDescription(execModeDescription)
public static AutomatedPolicyEvaluationMode GetEvaluationModeByDescription(
    string execModeDescription
)
public:
static AutomatedPolicyEvaluationMode GetEvaluationModeByDescription(
    String^ execModeDescription
)
static member GetEvaluationModeByDescription : 
        execModeDescription:string -> AutomatedPolicyEvaluationMode 
public static function GetEvaluationModeByDescription(
    execModeDescription : String
) : AutomatedPolicyEvaluationMode

Parameters

  • execModeDescription
    Type: System.String
    A string value that contains the description.