Partilhar via


Método GetFacetType

Gets the facet for the specified type.

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

Sintaxe

'Declaração
<STraceConfigurationAttribute(SkipAutoTrace := True)> _
Public Shared Function GetFacetType ( _
    facetShortName As String _
) As Type
'Uso
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

Parâmetros

Valor de retorno

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

Comentários

Só há suporte para esse namespace, classe ou membro na versão 2.0 do Microsoft .NET Framework.