Create a new connection.
Namespace: NetricsServerInterface
Assembly: NetricsServerInterface (in NetricsServerInterface.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Function newConnection() As NetricsServerInterface |
C# |
---|
public NetricsServerInterface newConnection() |
C++ |
---|
public: NetricsServerInterface newConnection() sealed |
J# |
---|
public NetricsServerInterface newConnection() |
JScript |
---|
public function newConnection() : NetricsServerInterface |
Remarks
This creates a new connection to the ibi™ Patterns - Search Server. All operations made through the returned interface object that modify data on the ibi Patterns Engine are associated with separate implicit transactions that are automatically committed or aborted when each operation returns.
An exception is thrown if a connection can't be established.
The interface object uses the connection settings of the connection manager object at the time it is created. Once created the interface object is separate from the connection manager object that created it. Changing settings in the connection manager object will not affect the settings in the interface object and vice versa.