The PostSourceDataFunctionEntry property specifies or returns the name of the script function that is to be called for the PostSourceData transformation phase.
object.PostSourceDataFunctionEntry [= name]
Part | Description |
---|---|
object | Expression that evaluates to a DTSTransformScriptProperties2 object |
name | Name of the script function that supports PostSourceData phase |
String
Read/write
HRESULT PostSourceDataFunctionEntry(BSTR* pRetVal);
HRESULT PostSourceDataFunctionEntry(BSTR pRetVal);
The PostSourceData phase occurs after the last source row is processed in the DataPumpTask2 or DataDrivenQueryTask2 object or after the last row of a constituent rowset is processed in the source hierarchical rowset of the ParallelDataPumpTask object.
The PostSourceData script function has no access to the columns of the DTSSource collection and write access to the columns of the DTSDestination collection. Any return values that are valid during the Transform phase can be returned.
The property also can be referenced through the TransformServerProperties collection with the following code:
Set transprops = transform.TransformServerProperties
transprops("PostSourceDataFunctionEntry") [= string]
BatchCompleteFunctionEntry Property
InsertFailureFunctionEntry Property
InsertSuccessFunctionEntry Property
PreSourceDataFunctionEntry Property