The FunctionEntry property specifies or returns the name of the script function that is to be called for the transformation.
object.FunctionEntry [= value]
Part | Description |
---|---|
object | Expression that evaluates to an object in the Applies To list |
value | Function to call in the script |
String
Read/write
HRESULT GetFunctionEntry(*pRetVal);
HRESULT SetFunctionEntry(NewValue);
In the DTSTransformScriptProperties2 object, the FunctionEntry property specifies the function name for the Transform phase. In the DataPumpTransformScript object, the Transform phase is the only transformation phase.
The script function specified by FunctionEntry has read access to the columns of the DTSSource collection and write access to the columns of the DTSDestination collection. The valid function return values are specified by the DTSTransformStatus constants.
The property also can be referenced through the TransformServerProperties collection with the following code:
Set transprops = transform.TransformServerProperties
transprops("FunctionEntry") [= string]
BatchCompleteFunctionEntry Property
InsertFailureFunctionEntry Property
InsertSuccessFunctionEntry Property
PostSourceDataFunctionEntry Property
PreSourceDataFunctionEntry Property