Dela via


FacetRepository.GetFacetType Method

Gets the facet for the specified type.

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

Syntax

'Declaration
<STraceConfigurationAttribute(SkipAutoTrace := True)> _
Public Shared Function GetFacetType ( _
    facetShortName As String _
) As Type
'Usage
Dim facetShortName As String
Dim returnValue As Type

returnValue = FacetRepository.GetFacetType(facetShortName)
[STraceConfigurationAttribute(SkipAutoTrace = true)]
public static Type GetFacetType(
    string facetShortName
)
[STraceConfigurationAttribute(SkipAutoTrace = true)]
public:
static Type^ GetFacetType(
    String^ facetShortName
)
[<STraceConfigurationAttribute(SkipAutoTrace = true)>]
static member GetFacetType : 
        facetShortName:string -> Type 
public static function GetFacetType(
    facetShortName : String
) : Type

Parameters

Return Value

Type: System.Type
A Type value that specifies the type that is associated with the facet.

Remarks

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