RemoveKeySetByID
Deletes the keyset whose ID equals ID from GroupName. Returns 1 if successful, 0 otherwise.
This method is functionally equivalent to using RemoveKeySets with its Condition parameter set to "ID=ID".
Syntax
RemoveKeySetByID(GroupName: string, ID: integer): 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).
JavaScript
/* both methods perform the same task */
repoObject.RemoveKeySetByID("Users", 10);
repoObject.RemoveKeySets("Users", "ID=10");
VB Script
/* both methods perform the same task */
repoObject.RemoveKeySetByID "Users", 10
repoObject.RemoveKeySets "Users", "ID=10"