GetFacetType 方法
Gets the facet for the specified type.
命名空間: Microsoft.SqlServer.Management.Facets
組件: Microsoft.SqlServer.Dmf (在 Microsoft.SqlServer.Dmf.dll 中)
語法
'宣告
<STraceConfigurationAttribute(SkipAutoTrace := True)> _
Public Shared Function GetFacetType ( _
facetShortName As String _
) As Type
'用途
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
參數
- facetShortName
型別:System. . :: . .String
A String object value that specifies the facet.
傳回值
型別:System. . :: . .Type
A Type value that specifies the type that is associated with the facet.
備註
只有 Microsoft .NET Framework 2.0 版支援此命名空間、類別或成員。