Partager via


Méthode FacetRepository.GetFacetEvaluationMode

Gets the evaluation mode for the specified type.

Espace de noms :  Microsoft.SqlServer.Management.Facets
Assembly :  Microsoft.SqlServer.Dmf (en Microsoft.SqlServer.Dmf.dll)

Syntaxe

'Déclaration
<STraceConfigurationAttribute(SkipAutoTrace := True)> _
Public Shared Function GetFacetEvaluationMode ( _
    facet As Type _
) As AutomatedPolicyEvaluationMode
'Utilisation
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

Paramètres

Valeur de retour

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

Voir aussi

Référence

FacetRepository Classe

Espace de noms Microsoft.SqlServer.Management.Facets