IDBContextExecuteSqlStatementAsDbDataReader Method (String, Int32)

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

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

DbDataReader ExecuteSqlStatementAsDbDataReader(
	string sqlStatement,
	int timeoutValue
)

Parameters

sqlStatement
Type: SystemString
String containing SQL statement.
timeoutValue
Type: SystemInt32
A timeout value in seconds for the query

Return Value

Type: DbDataReader
Returns a DbDataReader object.
See Also

Reference