Freigeben über


IsRegisteredFacet-Methode

Determines whether the facet is registered.

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

Syntax

'Declaration
<STraceConfigurationAttribute(SkipAutoTrace := True)> _
Public Shared Function IsRegisteredFacet ( _
    facet As Type _
) As Boolean
'Usage
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

Parameter

Rückgabewert

Typ: System. . :: . .Boolean
A Boolean value that specifies whether the facet is registered.
If True, the facet is registered. Otherwise, False.

Hinweise

Der Namespace, die Klasse oder das Element wird nur in der Version 2.0 von Microsoft .NET Framework unterstützt.