Database Reference
In-Depth Information
10. Give the connection manager a meaningful name, such as
Customer-
File
. The page will look similar to
Figure 9-11
.
Figure 9-11
.
Configured connection manager
11. Go to the Script page and click the Edit Script button to launch the
VSTA script editor.
We'll be adding code to the
PreExecute
and
CreateNewOutputRows
meth-
ods of the
ScriptMain
class, as well as overriding two additional methods from the
base class:
AcquireConnection
and
ReleaseConnection
.
The
AcquireConnection
method will retrieve the path to our XML file from
the connection manager we configured in step 10.
The
PreExecute
method will verify that the file actually exists, and it will raise
an error if it is not found.
Search WWH ::
Custom Search