RemoveKey

Removes existing key KeyName from group GroupName. The key to remove must exist in the group, otherwise an error is raised. All values for the key, in all keysets for the group, are removed. Note that when the Group contains a large number of KeySets, this operation may take a while.

Syntax ​

RemoveKey(GroupName: string, KeyName: string)

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

repoObject.RemoveKey("Users", "email");

VB Script​

repoObject.RemoveKey "Users", "email"