Share via


ScriptComponent.GetColumnIndexes Method

This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.

Gets the collection of column index for the script component.

Namespace:  Microsoft.SqlServer.Dts.Pipeline
Assembly:  Microsoft.SqlServer.TxScript (in Microsoft.SqlServer.TxScript.dll)

Syntax

'Declaration
Public Function GetColumnIndexes ( _
    ObjectID As Integer _
) As Integer()
'Usage
Dim instance As ScriptComponent 
Dim ObjectID As Integer 
Dim returnValue As Integer()

returnValue = instance.GetColumnIndexes(ObjectID)
public int[] GetColumnIndexes(
    int ObjectID
)
public:
array<int>^ GetColumnIndexes(
    int ObjectID
)
member GetColumnIndexes : 
        ObjectID:int -> int[] 
public function GetColumnIndexes(
    ObjectID : int
) : int[]

Parameters

Return Value

Type: array<System.Int32[]
The collection of column index.

See Also

Reference

ScriptComponent Class

Microsoft.SqlServer.Dts.Pipeline Namespace