Returns either the SQL statement constructed using the helper methods (in this case, SetFromClauseInitialValue must have been called prior to this method), or the SQL statement specified in its entirety using either SetQueryString or the SearchSQL(String) constructor.

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

ToggleSyntax

Visual Basic (Declaration)
Public Overrides Function ToString As String
C#
public override string ToString()
Visual C++
public:
virtual String^ ToString() override
JavaScript
function toString();

Return Value

A String containing the SQL statement used for this instance.

ToggleExceptions

ExceptionCondition
FileNet.Api.Exception..::.EngineRuntimeException Thrown when the SQL statement is Null. Either the SQL statement was not set (constructed or specified in its entirety), or was nullified by calling one of the SearchSQL Set methods subsequent to using either SetQueryString or the SearchSQL(String) constructor.

ToggleSee Also