Utils.GetDescriptionForAdHocEvaluationMode Method
Gets the description for the AdHocPolicyEvaluationMode 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 GetDescriptionForAdHocEvaluationMode ( _
mode As AdHocPolicyEvaluationMode _
) As String
'Usage
Dim mode As AdHocPolicyEvaluationMode
Dim returnValue As String
returnValue = Utils.GetDescriptionForAdHocEvaluationMode(mode)
public static string GetDescriptionForAdHocEvaluationMode(
AdHocPolicyEvaluationMode mode
)
public:
static String^ GetDescriptionForAdHocEvaluationMode(
AdHocPolicyEvaluationMode mode
)
static member GetDescriptionForAdHocEvaluationMode :
mode:AdHocPolicyEvaluationMode -> string
public static function GetDescriptionForAdHocEvaluationMode(
mode : AdHocPolicyEvaluationMode
) : String
Parameters
- mode
Type: Microsoft.SqlServer.Management.Dmf.AdHocPolicyEvaluationMode
The AdHocPolicyEvaluationMode object.
Return Value
Type: System.String
A string value that contains the description.