共用方式為


GetFacetEvaluationContext 方法 (Type, Object)

Gets the context that is associated with the attribute.

命名空間:  Microsoft.SqlServer.Management.Facets
組件:  Microsoft.SqlServer.Dmf (在 Microsoft.SqlServer.Dmf.dll 中)

語法

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

參數

傳回值

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

備註

只有 Microsoft .NET Framework 2.0 版支援此命名空間、類別或成員。