HsxServer Type Library Overview

The HsxServer type library contains one object, the HsxServer object. The HsxServer object is used by clients to obtain connections to applications and to return lists of the applications registered on application servers. The HsxServer object also provides access to other application server functionality; for example, the EnumRegisteredDSNs method returns the names of the Data Source Names registered on an application server.

To assign HsxServer object references, use the HsxServer object reference returned by the HsxClient methods OpenApplication or GetServerOnCluster or the HsxClientUI method OpenApplication.

The following table lists the methods of the HsxServer object, and HsxServer Object Property describes the HsxServer object’s one property.

Table 6. HsxServer Object Methods

Method

Description

DeleteSystemErrors

For internal use.

EnumDataSources

Returns the names and descriptions of the applications on an application server.

EnumRegisteredDSNs

Returns an array of the registered Data Source Names on the application server.

GetClustersAndServers

Returns the names of the clusters and servers associated with an HsxServer object reference.

GetDataSource

For internal use.

GetFileTransfer

For internal use

GetHFMErrorLogRecordSet

For internal use.

GetSystemDataLinkFile

Returns the name and path of the data link file for the application server.

GetSystemFolder

Returns the name and path of the system file for the application server.

GetXMLErrorFromDatabase

Returns the message for a system error, given the system error’s reference number.

GetXMLErrorsListFromDatabase

Returns the reference numbers, log types, timestamps, application server names, and application names of system errors. You can filter the errors to be returned by date range, application server name, and application name.

ScriptableEnumDataSources

For internal use.

ScriptableEnumRegisteredDSNs

For internal use.

For detailed descriptions of these methods, see HsxServer Object Methods.