Freigeben über


FacetRepository.GetFacetEvaluationMode-Methode

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

Parameter

Rückgabewert

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

Siehe auch

Verweis

FacetRepository Klasse

Microsoft.SqlServer.Management.Facets-Namespace