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
參數
- facetType
型別:System. . :: . .Type
A Type value that specifies the name of the property.
- target
型別:System. . :: . .Object
A Object value that specifies the value of the property.
傳回值
型別:Microsoft.SqlServer.Management.Facets. . :: . .FacetEvaluationContext
A FacetEvaluationContext object value that specifies the property value.
備註
只有 Microsoft .NET Framework 2.0 版支援此命名空間、類別或成員。