MarkLogic XDBC.NET Library

IXdbcConnection Methods

The methods of the IXdbcConnection interface are listed below. For a complete list of IXdbcConnection interface members, see the IXdbcConnection Members topic.

Public Instance Methods

ClearWarnings Clears all warnings reported for this connection object. After a call to this method, the property Warning returns null until a new warning is reported for this connection.
Close Releases a connection's database and XDBC resources immediately instead of waiting for this to be done by the garbage collector. Calling this method frees up resources immediately and its use is strongly encouraged.
Commit Makes all changes made since the previous commit/rollback permanent and releases any database locks currently held by the connection.
CreateCommand Creates a IXdbcCommand object for sending XQuery expressions to the database.
Rollback Drops all changes made since the previous commit/rollback and releases any database locks currently held by this connection.
SetCredentials Creates the user credentials for this connection

See Also

IXdbcConnection Interface | MarkLogic.Xdbc Namespace