GetFacetEvaluationContext 方法 (String, 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 ( _
facetName As String, _
target As Object _
) As FacetEvaluationContext
'用途
Dim facetName As String
Dim target As Object
Dim returnValue As FacetEvaluationContext
returnValue = FacetEvaluationContext.GetFacetEvaluationContext(facetName, _
target)
[STraceConfigurationAttribute(SkipAutoTrace = true)]
public static FacetEvaluationContext GetFacetEvaluationContext(
string facetName,
Object target
)
[STraceConfigurationAttribute(SkipAutoTrace = true)]
public:
static FacetEvaluationContext^ GetFacetEvaluationContext(
String^ facetName,
Object^ target
)
[<STraceConfigurationAttribute(SkipAutoTrace = true)>]
static member GetFacetEvaluationContext :
facetName:string *
target:Object -> FacetEvaluationContext
public static function GetFacetEvaluationContext(
facetName : String,
target : Object
) : FacetEvaluationContext
參數
- facetName
型別:System. . :: . .String
A String 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 版支援此命名空間、類別或成員。