Udostępnij przez


Metoda FacetEvaluationContext.GetFacetEvaluationContext (Type, Object)

Pobiera kontekstu, który jest skojarzony z atrybut.

Przestrzeń nazw:  Microsoft.SqlServer.Management.Facets
Zestaw:  Microsoft.SqlServer.Dmf (w Microsoft.SqlServer.Dmf.dll)

Składnia

'Deklaracja
<STraceConfigurationAttribute(SkipAutoTrace := True)> _
Public Shared Function GetFacetEvaluationContext ( _
    facetType As Type, _
    target As Object _
) As FacetEvaluationContext
'Użycie
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

Parametry

  • facetType
    Typ: System.Type
    A Type wartość, która określa nazwę właściwość.

Wartość zwracana

Typ: Microsoft.SqlServer.Management.Facets.FacetEvaluationContext
A FacetEvaluationContext wartość obiektu, który określa wartości właściwość.

Uwagi

Ten obszar nazw, klasa lub element członkowski jest obsługiwany tylko w wersji 2.0 programu Microsoft .NET Framework.