GetFacetEvaluationContext 方法 (Type, Object)

Gets the context that is associated with the attribute.

命名空间:  Microsoft.SqlServer.Management.Facets
程序集:  Microsoft.SqlServer.Dmf(在 Microsoft.SqlServer.Dmf.dll 中)

语法

声明
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)
public static FacetEvaluationContext GetFacetEvaluationContext(
    Type facetType,
    Object target
)
public:
static FacetEvaluationContext^ GetFacetEvaluationContext(
    Type^ facetType, 
    Object^ target
)
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 版本支持此命名空间、类或成员。