8.6

Table Of Contents
Examples
In each of these examples, the object repoObject is deemed having been obtained through a
call to the COM object "RepositoryLib.WorkflowRepository" (see "Obtaining an instance of the
Repository Object" on page117).
JavaScript
repoObject.RemoveKeySetByID("Users", 10); // both methods
perform
repoObject.RemoveKeySets( "Users", "ID=10" ); // the same task
VB Script
repoObject.RemoveKeySetByID "Users", 10 '' both methods
perform
repoObject.RemoveKeySets "Users", "ID=10" '' the same task
RemoveKeySets
Deletes all keysets in GroupName that match Condition. The condition is specified using
basic SQL WHERE syntax. Condition may be left empty, in which case all keysets in
GroupName are deleted. The method returns the number of keysets that were deleted.
Syntax
RemoveKeySets(GroupName: string, Condition: string): integer
Examples
In each of these examples, the object repoObject is deemed having been obtained through a
call to the COM object "RepositoryLib.WorkflowRepository" (see "Obtaining an instance of the
Repository Object" on page117).
JavaScript
repoObject.RemoveKeySets("Users", 'Gender="M"');
VB Script
repoObject.RemoveKeySets "Users", "Gender='M'"
Page 130