Partager via


Méthode FacetEvaluationContext.GetFacetEvaluationContext (Type, Object)

Gets the context that is associated with the attribute.

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 GetFacetEvaluationContext ( _
    facetType As Type, _
    target As Object _
) As FacetEvaluationContext
'Utilisation
Dim facetType As Type 
Dim target As Object 
Dim returnValue As FacetEvaluationContext 

returnValue = FacetEvaluationContext.GetFacetEvaluationContext(facetType, _
    target)
[STraceConfigurationAttribute(SkipAutoTrace = true)]
public static FacetEvaluationContext GetFacetEvaluationContext(
    Type facetType,
    Object target
)
[STraceConfigurationAttribute(SkipAutoTrace = true)]
public:
static FacetEvaluationContext^ GetFacetEvaluationContext(
    Type^ facetType, 
    Object^ target
)
[<STraceConfigurationAttribute(SkipAutoTrace = true)>]
static member GetFacetEvaluationContext : 
        facetType:Type * 
        target:Object -> FacetEvaluationContext
public static function GetFacetEvaluationContext(
    facetType : Type, 
    target : Object
) : FacetEvaluationContext

Paramètres

  • facetType
    Type : System.Type
    A Type value that specifies the name of the property.

Valeur de retour

Type : Microsoft.SqlServer.Management.Facets.FacetEvaluationContext
A FacetEvaluationContext object value that specifies the property value.

Notes

Cet espace de noms, cette classe ou ce membre est pris en charge uniquement par la version 2.0 de Microsoft .NET Framework.

Voir aussi

Référence

FacetEvaluationContext Classe

Surcharge GetFacetEvaluationContext

Espace de noms Microsoft.SqlServer.Management.Facets