共用方式為


GetFacetsForType 方法

Gets a list of facets for the specified target type.

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

語法

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

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

參數

傳回值

型別:System.Collections.Generic. . :: . .List< (Of < ( <'Type> ) > ) >
A List of Type values that specifies the facets for the target type.