ihuPublishSetDestinationServer

Use the ihuPublishSetDestinationServer function to define the destination Historian server for a specific collector.

Prototype

ihuPublishSetDestinationServer (
  long hServer,
  MSO Char *InterfaceName,
  MSO Char *DestinationServer
);

Remarks

The ihuPublishSetDestinationServer function returns the Historian server name that is defined for the specified collector. The new name is assigned without a collector restart, and can be used at any time the distributor is restarted.

Returns

The ihuPublishSetDestinationServer function returns ihuSTATUS_OK on success, or returns an error if any out-of-memory issues occur during dynamic memory allocation.