Restricts the query to return only items from the specified class within the specified folder.


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

Syntax

Visual Basic (Declaration)
Public Overridable Sub SetFolderRestriction( _ 
   ByVal symbolicClassName As String,  _ 
   ByVal folderName As String _ 
)
C#
public virtual void SetFolderRestriction(
   string symbolicClassName,
   string folderName
)
C++
public:
 virtual void SetFolderRestriction(
   String symbolicClassName,
   String folderName
)
J#
public virtual void SetFolderRestriction(
   string symbolicClassName,
   string folderName
)
JScript
public virtual  function SetFolderRestriction(
   symbolicClassName : String,
   folderName : String
)

Parameters

symbolicClassName
A String containing the symbolic name of the class.
folderName
A String containing the name of the folder storing the class.

Exceptions

Exception TypeCondition
EngineRuntimeException Thrown when the parameter is Null or invalid.

See Also