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)

Syntax

Visual Basic (Declaration)
Public Overrides Function ToString() As String
C#
public override string ToString()
C++
public:
 virtual String ToString() override 
J#
public override string ToString()
JScript
public override  function ToString() : String

Return Value

A String containing the SQL statement used for this instance.

Exceptions

Exception TypeCondition
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.

See Also