DOFConnectionStatecreateConnection Method OpenDOF Object Access Library
Create a connection from this State.

Namespace: org.opendof.core.oal
Assembly: dof-oal (in dof-oal.dll) Version: 7.0.1.2
Syntax

C#
DOFConnection createConnection()

Return Value

Type: DOFConnection
The new connection.
Remarks

Create a connection from this State.

NOTE: Only unsecure connections can be created, because credential information is neutered for security reasons.

To create a secure connection, from State, use

DOFConnection.Config.Builder(DOFConnection.State)
then add the credential with Builder.setCredentials(DOFCredentials) .
See Also

Reference