IDBContextExecuteSQLStatementAsReader Method

Relativity API
Executes a Transact-SQL statement against the connection and builds a SqlDataReader.

Namespace:  Relativity.API
Assembly:  Relativity.API (in Relativity.API.dll) Version: 17.0.1.1 588f15fd7550dbf54835f3417a0142d4ea37dbb5
Syntax

SqlDataReader ExecuteSQLStatementAsReader(
	string sqlStatement,
	int timeout = -1
)

Parameters

sqlStatement
Type: SystemString
String containing parameterized SQL statement.
timeout (Optional)
Type: SystemInt32
A timeout value in seconds for the query

Return Value

Type: SqlDataReader
Returns a SqlDataReader object.
See Also

Reference