IDTSComponentMetaData100.GetIdentificationStringByLineageID Method (Int32)

 

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

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

Syntax

[DispIdAttribute(135)]
string GetIdentificationStringByLineageID(
    int lLineageID
)
[DispIdAttribute(135)]
String^ GetIdentificationStringByLineageID(
    int lLineageID
)
[<DispIdAttribute(135)>]
abstract GetIdentificationStringByLineageID : 
        lLineageID:int -> string
<DispIdAttribute(135)>
Function GetIdentificationStringByLineageID (
    lLineageID As Integer
) As String

Parameters

  • lLineageID
    Type: System.Int32

    The Lineage ID for the output 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]

Remarks

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 GetIdentificationStringByLineageID 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.

See Also

IDTSComponentMetaData100 Interface
Microsoft.SqlServer.Dts.Pipeline.Wrapper Namespace

Return to top