Freigeben über


GetFacetType-Methode

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

Parameter

Rückgabewert

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

Hinweise

Der Namespace, die Klasse oder das Element wird nur in der Version 2.0 von Microsoft .NET Framework unterstützt.