Метод FacetEvaluationContext.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.