IsRegisteredFacet 方法
Determines whether the facet is registered.
命名空间: Microsoft.SqlServer.Management.Facets
程序集: Microsoft.SqlServer.Dmf(在 Microsoft.SqlServer.Dmf.dll 中)
语法
声明
<STraceConfigurationAttribute(SkipAutoTrace := True)> _
Public Shared Function IsRegisteredFacet ( _
facet As Type _
) As Boolean
用法
Dim facet As Type
Dim returnValue As Boolean
returnValue = FacetRepository.IsRegisteredFacet(facet)
[STraceConfigurationAttribute(SkipAutoTrace = true)]
public static bool IsRegisteredFacet(
Type facet
)
[STraceConfigurationAttribute(SkipAutoTrace = true)]
public:
static bool IsRegisteredFacet(
Type^ facet
)
[<STraceConfigurationAttribute(SkipAutoTrace = true)>]
static member IsRegisteredFacet :
facet:Type -> bool
public static function IsRegisteredFacet(
facet : Type
) : boolean
参数
- facet
类型:System. . :: . .Type
A Type object value that specifies the type.
返回值
类型:System. . :: . .Boolean
A Boolean value that specifies whether the facet is registered.
If True, the facet is registered. Otherwise, False.
注释
仅 Microsoft .NET Framework 的 2.0 版本支持此命名空间、类或成员。