共用方式為


TargetSet.GetLevelsSorted 方法

Returns a sorted list of levels for the target set.

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

語法

'宣告
<STraceConfigurationAttribute(SkipAutoTrace := True)> _
Public Function GetLevelsSorted As IList(Of TargetSetLevel)
'用途
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>

傳回值

型別: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.

備註

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

請參閱

參考

TargetSet 類別

Microsoft.SqlServer.Management.Dmf 命名空間