Udostępnij przez


FacetRepository.IsRegisteredFacet Method

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

Parameters

Return Value

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

Remarks

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

See Also

Reference

FacetRepository Class

Microsoft.SqlServer.Management.Facets Namespace