cfregistry action = "delete"

Description

Deletes a registry key or value.

Syntax

<cfregistry 
action = "delete"
branch = "branch"
entry = "keyorvalue">

See also

Using Persistent Data and Locking in ColdFusion MX Developer's Guide

Attributes

Attribute Req/Opt Default Description

action

Required

 

Always delete.

branch

Required

 

  • For key deletion: name of registry key to delete. Do not specify the entry attribute.
  • For value deletion: name of registry branch that contains value to delete. You must specify the entry attribute.

entry

Required for value deletion

 

Value to delete.

Usage

If you delete a key, the cfregistry tag also deletes values and subkeys defined beneath it.

Example

<cfregistry action = "delete"
 branch = "HKEY_LOCAL_MACHINE\Software\cflangref\tempkey"
 entry = "LastCFM01">
<h1>cfregistry action = "delete"</h1>

View comments in LiveDocs