BackUp LevelNext

CFREGISTRY ACTION="GetAll"

Use CFREGISTRY with the GetAll action to return all registry keys and values defined in a branch. You can access these values as you would any record set.

Syntax

<CFREGISTRY ACTION="GetAll"
    BRANCH="branch"
    TYPE="data type"
    NAME="query name" 
    SORT="criteria">

BRANCH

Required. The name of the registry branch containing the keys or values you want to access.

TYPE

Optional. The type of data you want to access:

NAME

Required. The name of the record set to contain returned keys and values.

SORT

Optional. Sorts query column data (case-insensitive). Sorts on Entry, Type, and Value columns as text. Specify any combination of columns from query output in a comma separated list. ASC (ascending) or DESC (descending) can be specified as qualifiers for column names. ASC is the default. For example:

Sort="value DESC, entry ASC"

Usage

CFREGISTRY returns #Entry#, #Type#, and #Value# in a record set that you can access through tags such as CFOUTPUT. To fully qualify these variables use the record set name, as specified in the NAME attribute.

If #Type# is a key, #Value# is an empty string.

If you specify Any for TYPE, GetAll also returns binary registry values. For binary values, the #Type# variable contains UNSUPPORTED and #Value# is blank.




BackUp LevelNext

allaire

AllaireDoc@allaire.com
Copyright © 1998, Allaire Corporation. All rights reserved.