MACROMEDIA COLFUSION MX 7-CFML Reference page 357

Cfml reference
Hide thumbs Also See for COLFUSION MX 7-CFML:
Table of Contents

Advertisement

cfregistry action = "getAll"
Description
Returns all registry keys and values defined in a branch. You can access the values as you would
any record set.
Syntax
<cfregistry
action = "getAll"
branch = "branch"
type = "data type"
name = "query name"
sort = "criteria">
See also
Chapter 15, "Using Persistent Data and Locking," in ColdFusion MX Developer's Guide
Attributes
Attribute
Req/Opt Default Description
action
Required
branch
Required
type
Optional String
name
Required
sort
Optional ASC
Usage
This tag returns
such as
cfoutput
attribute.
name
If
is a key,
#type#
If you specify
type= "any"
variable contains UNSUPPORTED and
#type#
Example
<!--- This example uses cfregistry with the getAll action. --->
<cfregistry action = "getAll"
branch = "HKEY_LOCAL_MACHINE\Software\Microsoft\Java VM"
type = "Any" name = "RegQuery">
Always
Name of a registry branch.
• string: returns string values.
• dWord: returns DWord values.
• key: returns keys.
• any: returns keys and values.
Name of record set to contain returned keys and values.
Sorts query column data (case-insensitive). Sorts on Entry, Type,
and Value columns as text. Specify a combination of columns from
query output, in a comma-delimited list. For example:
sort = "value desc, entry asc"
• asc: ascending (a to z) sort order.
• desc: descending (z to a) sort order.
,
, and
#entry#
#type#
. To fully qualify these variables, use the record set name, as specified in the
is an empty string.
#value#
,
also returns binary registry values. For binary values, the
getAll
getall.
in a record set that you can access through tags
#value#
is blank.
#value#
cfregistry
357

Advertisement

Table of Contents
loading

This manual is also suitable for:

Colfusion mx 7 - installing and using coldfusion mx

Table of Contents