Utils.GetDescriptionForEvaluationMode Method
Gets the description for the AutomatedEvaluationMode object supplied by the [mode] parameter.
Namespace: Microsoft.SqlServer.Management.Dmf
Assembly: Microsoft.SqlServer.Dmf (in Microsoft.SqlServer.Dmf.dll)
Syntax
'Declaration
Public Shared Function GetDescriptionForEvaluationMode ( _
mode As AutomatedPolicyEvaluationMode _
) As String
'Usage
Dim mode As AutomatedPolicyEvaluationMode
Dim returnValue As String
returnValue = Utils.GetDescriptionForEvaluationMode(mode)
public static string GetDescriptionForEvaluationMode(
AutomatedPolicyEvaluationMode mode
)
public:
static String^ GetDescriptionForEvaluationMode(
AutomatedPolicyEvaluationMode mode
)
static member GetDescriptionForEvaluationMode :
mode:AutomatedPolicyEvaluationMode -> string
public static function GetDescriptionForEvaluationMode(
mode : AutomatedPolicyEvaluationMode
) : String
Parameters
- mode
Type: Microsoft.SqlServer.Management.Dmf.AutomatedPolicyEvaluationMode
The AutomatedPolicyEvaluationMode object.
Return Value
Type: System.String
A string value that contains the description.