Compartilhar via


Método FacetEvaluationContext.GetFacetEvaluationContext (String, 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 ( _
    facetName As String, _
    target As Object _
) As FacetEvaluationContext
'Uso
Dim facetName As String 
Dim target As Object 
Dim returnValue As FacetEvaluationContext 

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

Parâmetros

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