cfregistry action = "delete"

Description

Deletes a registry key or value.

Syntax

<cfregistry 
action = "delete"
branch = "branch"
entry = "key or value">

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>

ColdFusion 9 | ColdFusion 8 | ColdFusion MX 7 | ColdFusion MX 6.1 | ColdFusion MX | Forums | Developer Center | KnowledgeBase | Bug Reporting

Version 7

 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/coldfusion/7/htmldocs/00000322.htm