Specifies the entire SQL statement. This method cannot be used in conjunction with any of the other Set methods on this class. Doing so will have the following effect:
  • Any values set by calling another SearchSQL Set method (such as, SetMaxRecords), then calling this method, will overwrite or nullify the value initially set.
  • Calling this method, then calling any other SearchSQL Set method will overwrite or nullify the SQL statement specified here.

No SQL validation is performed on the specified string.

Namespace:  FileNet.Api.Query
Assembly:  FileNet.Api (in FileNet.Api.dll)

ToggleSyntax

Visual Basic (Declaration)
Public Overridable Sub SetQueryString ( _
	queryString As String _
)
C#
public virtual void SetQueryString(
	string queryString
)
Visual C++
public:
virtual void SetQueryString(
	String^ queryString
)
JavaScript
function setQueryString(queryString);

Parameters

queryString
Type: System..::.String
A String containing the SQL statement to use.

ToggleSee Also