Share via


FacetRepository.GetFacetsForType Method

Gets a list of facets for the specified target type.

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

Syntax

'Declaration
Public Shared Function GetFacetsForType ( _
    target As Type _
) As List(Of Type)
'Usage
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>

Parameters

Return Value

Type: System.Collections.Generic.List<Type>
A List of Type values that specifies the facets for the target type.