Compartilhar via


Método FacetRepository.GetFacetEvaluationMode

Gets the evaluation mode for the specified type.

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

Sintaxe

'Declaração
<STraceConfigurationAttribute(SkipAutoTrace := True)> _
Public Shared Function GetFacetEvaluationMode ( _
    facet As Type _
) As AutomatedPolicyEvaluationMode
'Uso
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

Parâmetros

Valor de retorno

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

Consulte também

Referência

FacetRepository Classe

Namespace Microsoft.SqlServer.Management.Facets