Gets a database connection, with option to open if closed.
Namespace: Relativity.API
Assembly: Relativity.API (in Relativity.API.dll) Version: 640db774aa42dfbe1785add27fbb41844ec5c7d4
Syntax
Parameters
- openConnectionIfClosed
- Type: System.Boolean
Boolean value indicating if the connection should be opened upon its creation.
Return Value
Type: SqlConnectionReturns an open connection to a SQL Server database. This class cannot be inherited.
See Also