Compartilhar via


Método FacetEvaluationContext.GetFacetEvaluationContext (Type, Object)

Gets the context that is associated with the attribute.

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

Sintaxe

'Declaração
<STraceConfigurationAttribute(SkipAutoTrace := True)> _
Public Shared Function GetFacetEvaluationContext ( _
    facetType As Type, _
    target As Object _
) As FacetEvaluationContext
'Uso
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

Parâmetros

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

Valor de retorno

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

Comentários

Só há suporte para esse namespace, classe ou membro na versão 2.0 do Microsoft .NET Framework.

Consulte também

Referência

FacetEvaluationContext Classe

Sobrecarregado GetFacetEvaluationContext

Namespace Microsoft.SqlServer.Management.Facets