TargetSet.GetLevelsSorted Method

Returns a sorted list of levels for the target set.

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

Syntax

'Declaration
<STraceConfigurationAttribute(SkipAutoTrace := True)> _
Public Function GetLevelsSorted As IList(Of TargetSetLevel)
'Usage
Dim instance As TargetSet 
Dim returnValue As IList(Of TargetSetLevel)

returnValue = instance.GetLevelsSorted()
[STraceConfigurationAttribute(SkipAutoTrace = true)]
public IList<TargetSetLevel> GetLevelsSorted()
[STraceConfigurationAttribute(SkipAutoTrace = true)]
public:
IList<TargetSetLevel^>^ GetLevelsSorted()
[<STraceConfigurationAttribute(SkipAutoTrace = true)>]
member GetLevelsSorted : unit -> IList<TargetSetLevel> 
public function GetLevelsSorted() : IList<TargetSetLevel>

Return Value

Type: System.Collections.Generic.IList<TargetSetLevel>
A [IList<T:Microsoft.SqlServer.Management.Dmf.TargetSetLevel>] object that contains the sorted list of levels for the target set.

Remarks

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

See Also

Reference

TargetSet Class

Microsoft.SqlServer.Management.Dmf Namespace