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)

Syntax

Visual Basic (Declaration)
Public Overridable Sub SetQueryString( _ 
   ByVal queryString As String _ 
)
C#
public virtual void SetQueryString(
   string queryString
)
C++
public:
 virtual void SetQueryString(
   String queryString
)
J#
public virtual void SetQueryString(
   string queryString
)
JScript
public virtual  function SetQueryString(
   queryString : String
)

Parameters

queryString
A String containing the SQL statement to use.

See Also