Compartilhar via


Método Utils.GetEvaluationModeByDescription

Gets the evaluation mode from the execModeDescription parameter.

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

Sintaxe

'Declaração
Public Shared Function GetEvaluationModeByDescription ( _
    execModeDescription As String _
) As AutomatedPolicyEvaluationMode
'Uso
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

Parâmetros

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

Valor de retorno

Tipo: Microsoft.SqlServer.Management.Dmf.AutomatedPolicyEvaluationMode
An AutomatedPolicyEvaluationMode object.

Consulte também

Referência

Utils Classe

Namespace Microsoft.SqlServer.Management.Dmf