共用方式為


FacetRepository.GetRootFacets 方法

Gets the facets for the specified root type.

命名空間:  Microsoft.SqlServer.Management.Facets
組件:  Microsoft.SqlServer.Dmf (在 Microsoft.SqlServer.Dmf.dll 中)

語法

'宣告
Public Shared Function GetRootFacets ( _
    rootType As Type _
) As List(Of Type)
'用途
Dim rootType As Type 
Dim returnValue As List(Of Type)

returnValue = FacetRepository.GetRootFacets(rootType)
public static List<Type> GetRootFacets(
    Type rootType
)
public:
static List<Type^>^ GetRootFacets(
    Type^ rootType
)
static member GetRootFacets : 
        rootType:Type -> List<Type> 
public static function GetRootFacets(
    rootType : Type
) : List<Type>

參數

  • rootType
    型別:System.Type
    A Type object value that specifies the type.

傳回值

型別:System.Collections.Generic.List<Type>
A List of Type object values that specifies the types that are associated with the facet.

備註

只有 Microsoft .NET Framework 2.0 版支援此命名空間、類別或成員。

請參閱

參考

FacetRepository 類別

Microsoft.SqlServer.Management.Facets 命名空間