Share via


FacetRepository.GetFacetEvaluationMode Method

Gets the evaluation mode for the specified type.

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

Syntax

'Declaration
<STraceConfigurationAttribute(SkipAutoTrace := True)> _
Public Shared Function GetFacetEvaluationMode ( _
    facet As Type _
) As AutomatedPolicyEvaluationMode
'Usage
Dim facet As Type
Dim returnValue As AutomatedPolicyEvaluationMode

returnValue = FacetRepository.GetFacetEvaluationMode(facet)
[STraceConfigurationAttribute(SkipAutoTrace = true)]
public static AutomatedPolicyEvaluationMode GetFacetEvaluationMode(
    Type facet
)
[STraceConfigurationAttribute(SkipAutoTrace = true)]
public:
static AutomatedPolicyEvaluationMode GetFacetEvaluationMode(
    Type^ facet
)
[<STraceConfigurationAttribute(SkipAutoTrace = true)>]
static member GetFacetEvaluationMode : 
        facet:Type -> AutomatedPolicyEvaluationMode 
public static function GetFacetEvaluationMode(
    facet : Type
) : AutomatedPolicyEvaluationMode

Parameters

Return Value

Type: Microsoft.SqlServer.Management.Dmf.AutomatedPolicyEvaluationMode
The AutomatedPolicyEvaluationMode object value that specifies the evaluation mode for the facet.