HsvcDataLoad Type Library Overview

The HsvcDataLoad type library contains the HsvcDataLoad object, which you use to load and extract data. The HsvcDataLoad type library also exposes the HsvLoadExtractOptions and HsvLoadExtractOption interfaces, which you use to specify load and extract options. For an overview of how to use this type library to load or extract data, see the following topics:

The following table lists the HsvcDataLoad object’s properties, and Table 51 lists the HsvcDataLoad object’s methods.

Table 50. HsvcDataLoad Object Properties

Property

Description

ExtractOptions

Returns an object reference to an instance of the IHsvLoadExtractOptions interface for an extraction operation. You must set this property before extracting data with Extract.

LoadOptions

Returns an object reference to an instance of the IHsvLoadExtractOptions interface for a load operation. You must set this property before loading data with Load.

The above properties are also members of other type libraries, and are described in detail in Common Load and Extract Properties.

The following table summarizes the HsvcDataLoad object’s methods.

Table 51. HsvcDataLoad Object Methods

Method

Description

DMELoad

For internal use.

Extract

Extracts data to a text file on the client computer.

Load

Loads data from a text file on the client computer.

Load2

Loads data from a text file on a client computer and returns a flag indicating whether any errors were logged

SetFileForLoad

For internal use.

SetSession

Points to the HsvSession object for the application in which data is being loaded or extracted.

Caution!

You must call SetSession before using any of the HsvcDataLoad object’s other properties or methods.

StartLoad

For internal use.

Extract, Load, and SetSession are also members of other type libraries, and are described in Common Load and Extract Methods. The other methods are described in HsvcDataLoad Object Methods.