ConnectToCollector

long ConnectToCollector (LPCTSTR Collector);

 

Available (from release):

 

stOCX (V2-01), stPro Automation (V2-01), stTabular History OCX (V3-02), stTabular History Automation (V3-02)

 

Return Value:

 

Nonzero if successful otherwise 0.

 

Parameters:

 

Name:

Description:

Collector

Identifies the data collector which the control should establish a connection to.

 

Remarks:

 

Call this function to establish a connection to a data collector.

 

Tip:  The Collector parameter can be specified as a TCP/IP address or as a host name.