Metoda FacetRepository.GetFacetType
Pobiera aspekt dla określonego typu.
Przestrzeń nazw: Microsoft.SqlServer.Management.Facets
Zestaw: Microsoft.SqlServer.Dmf (w Microsoft.SqlServer.Dmf.dll)
Składnia
'Deklaracja
<STraceConfigurationAttribute(SkipAutoTrace := True)> _
Public Shared Function GetFacetType ( _
facetShortName As String _
) As Type
'Użycie
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
Parametry
- facetShortName
Typ: System.String
A String wartość obiektu, który określa aspekt.
Wartość zwracana
Typ: System.Type
A Type wartość, która określa typ, który jest skojarzony z aspekt.
Uwagi
Ten obszar nazw, klasa lub element członkowski jest obsługiwany tylko w wersji 2.0 programu Microsoft .NET Framework.