IDTSComponentMetaData130::GetIdentificationStringByID Method (Int32)

 

Gets the identification string for a column referenced in an error output by providing a valid ID for the column.

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

[DispIdAttribute(135)]
String^ GetIdentificationStringByID(
	int lID
)

Parameters

lID
Type: System::Int32

A valid ID for the column.

Return Value

Type: System::String^

The identification string for the column. Here is an example of an identification string.

OLE DB Source.Outputs[OLE DB Source Output].Columns[UserID]

When you redirect rows in the data flow that contain errors to an error output, the output contains a numeric identifier for the column in which the error occurred, but does not display the name of the column. Call GetIdentificationStringByID from the Script Component or from a custom data flow component to get the name of the column, which is part of the identification string returned by this method.

For more info, see Error Handling in Data and Enhancing an Error Output with the Script Component.

Return to top
Show: