Connecting to the OLE DB Provider

Procedure

  1. To connect an OLE DB client to a Historian server on a local connection (both software packages are on the same PC), run the following:
    Provider=iHOLEDB.iHistorian.1
  2. To connect an OLE DB client to an Historian Server on a remote PC, use the following string:
    Provider=iHOLEDB.iHistorian.1;PersistSecurity Info=False;USER ID=[Username];Password=[Password];Data Source=[Target]

    Replace Target with the network name of your Historian server, Username with your Historian server user name, and Password with your Historian server password.

    Important: Clients using the OLE DB Provider must initialize COM in Apartment threaded mode.