Méthode Utils.GetEvaluationModeByDescription
Gets the evaluation mode from the execModeDescription parameter.
Espace de noms : Microsoft.SqlServer.Management.Dmf
Assembly : Microsoft.SqlServer.Dmf (en Microsoft.SqlServer.Dmf.dll)
Syntaxe
'Déclaration
Public Shared Function GetEvaluationModeByDescription ( _
execModeDescription As String _
) As AutomatedPolicyEvaluationMode
'Utilisation
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
Paramètres
- execModeDescription
Type : System.String
A string value that contains the description.
Valeur de retour
Type : Microsoft.SqlServer.Management.Dmf.AutomatedPolicyEvaluationMode
An AutomatedPolicyEvaluationMode object.