IDTSInputColumn100.SortKeyPosition 属性

定义

public:
 property int SortKeyPosition { int get(); };
[System.Runtime.InteropServices.DispId(123)]
public int SortKeyPosition { [System.Runtime.InteropServices.DispId(123)] get; }
[<System.Runtime.InteropServices.DispId(123)>]
[<get: System.Runtime.InteropServices.DispId(123)>]
member this.SortKeyPosition : int
Public ReadOnly Property SortKeyPosition As Integer

属性值

一个整 ,指定列的排序键。

属性

注解

列的非零 SortKeyPosition 值表示行在该列上排序。 正值表示排序为升排序;负值表示排序为降序。 SortKeyPosition的值必须表示一个数字序列,从1开始,递增1。 负数的绝对值决定了它在序列中的位置。

IsSorted 和 SortKeyPosition 属性协同工作,通知数据流中的其他组件,输入中接收到的数据已按照输入列 SortKeyPosition 值指定的顺序排序。 这些属性不会导致任何排序发生。

适用于