Freigeben über


FacetEvaluationContext.GetFacetEvaluationContext-Methode (Type, Object)

Gets the context that is associated with the attribute.

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

Syntax

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

Parameter

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

Rückgabewert

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

Hinweise

Der Namespace, die Klasse oder das Element wird nur in der Version 2.0 von Microsoft .NET Framework unterstützt.

Siehe auch

Verweis

FacetEvaluationContext Klasse

GetFacetEvaluationContext-Überladung

Microsoft.SqlServer.Management.Facets-Namespace