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)

ToggleSyntax

Visual Basic (Declaration)
Public Overridable Sub SetFolderRestriction ( _
	symbolicClassName As String, _
	folderName As String _
)
C#
public virtual void SetFolderRestriction(
	string symbolicClassName,
	string folderName
)
Visual C++
public:
virtual void SetFolderRestriction(
	String^ symbolicClassName, 
	String^ folderName
)
JavaScript
function setFolderRestriction(symbolicClassName, folderName);

Parameters

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

ToggleExceptions

ExceptionCondition
FileNet.Api.Exception..::.EngineRuntimeException Thrown when the parameter is Null or invalid.

ToggleSee Also