MarkLogic XDBC.NET Library

IXdbcConnection Members

IXdbcConnection overview

Public Instance Properties

AutoCommit This connection's auto-commit mode.
Credentials The NetworkCredential object for this connection, as set by the SetCredentials method
Culture The CultureInfo associated with this database connection. The default CultureInfo setting for a connection is inherited from the local runtime environment.
Host The host associated with this connection. This host may be hostname or internet address.
IsClosed Whether or not the connection to the database is closed or not.
IsReadOnly Whether or not this database is in read-only mode
MetaData The metadata regarding this connection's database
Port The port number of this connection
Region The RegionInfo associated with this database connection. The default RegionInfo setting for a connection is inherited from the local runtime environment.
TimeZone The timezone associated with this database connection. The default timezone setting for a connection is inherited from the local runtime environment.
TransactionIsolationLevel The transaction isolation level of this XDBC connection object. NOTE: The transaction isolation level is currently ignored by the server
Warnings Returns the first warning reported by calls on this connection.

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