Partilhar via


IDTSInputColumn90.SortKeyPosition Property

Gets the sort key of an input column.

Namespace: Microsoft.SqlServer.Dts.Pipeline.Wrapper
Assembly: Microsoft.SqlServer.DTSPipelineWrap (in microsoft.sqlserver.dtspipelinewrap.dll)

Syntax

'Declaration
<DispIdAttribute(123)> _
ReadOnly Property SortKeyPosition As Integer
[DispIdAttribute(123)] 
int SortKeyPosition { get; }
[DispIdAttribute(123)] 
property int SortKeyPosition {
    int get ();
}
/** @property */
/** @attribute DispIdAttribute(123) */ 
int get_SortKeyPosition ()
DispIdAttribute(123) 
function get SortKeyPosition () : int

Property Value

An Integer that specifies the sort key of the column.

Remarks

Updated text:17 July 2006

A non-zero SortKeyPosition value for a column indicates that rows are sorted on the column. A positive value indicates an ascending sort; a negative value indicates a descending sort. SortKeyPosition values must represent a numeric sequence, starting with 1 and incremented by 1. The absolute value of a negative number determines its place in the sequence.

The IsSorted and SortKeyPosition properties work together to inform other components in the data flow that the data received in an input is already sorted in the order specified by the value of the SortKeyPosition of the input columns. These properties do not cause any sorting to occur.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

IDTSInputColumn90 Interface
IDTSInputColumn90 Members
Microsoft.SqlServer.Dts.Pipeline.Wrapper Namespace

Change History

Release

History

17 July 2006

Changed content:
  • Provided explanation of how properties work together.