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 版本支持此命名空间、类或成员。