Share via


FacetEvaluationContext.GetFacetEvaluationContext Method (String, Object)

Gets the context that is associated with the attribute.

Namespace:  Microsoft.SqlServer.Management.Facets
Assembly:  Microsoft.SqlServer.Dmf (in Microsoft.SqlServer.Dmf.dll)

Syntax

'Declaration
Public Shared Function GetFacetEvaluationContext ( _
    facetName As String, _
    target As Object _
) As FacetEvaluationContext
'Usage
Dim facetName As String
Dim target As Object
Dim returnValue As FacetEvaluationContext

returnValue = FacetEvaluationContext.GetFacetEvaluationContext(facetName, _
    target)
public static FacetEvaluationContext GetFacetEvaluationContext(
    string facetName,
    Object target
)
public:
static FacetEvaluationContext^ GetFacetEvaluationContext(
    String^ facetName, 
    Object^ target
)
static member GetFacetEvaluationContext : 
        facetName:string * 
        target:Object -> FacetEvaluationContext 
public static function GetFacetEvaluationContext(
    facetName : String, 
    target : Object
) : FacetEvaluationContext

Parameters

Return Value

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

Remarks

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.