Get Components

Get a Component object based on the Component Name.

get_Component_takes an_Component_Name and returns the matching_Component Object_.

Usage

get_Component_(FQN)

Where:

FQN: Is the qualified name of the Component to be retrieved.

Returns

Component Object

A qualified name can include as many Domain names as is necessary to uniquely identify the Component. If the Component name is unique within the Domains to which the invoking user has access then no qualification is necessary. Only if there is more than one Component with the same name (in different accessible domains) will it be necessary to qualify the Component name with the domain in which it is located.

Examples

1) Retrieve a Component.

set compobject = get_Component_(“WarFile1”);

2) Retrieve a Component specifying the enclosing domain:

set compobject = get_Component_(“Project1.WarFile1”);

| Further descriptions of Component Objects are found in the high level section named DMScript Objects, in the section named Component.

See Also

get_Application_(), getcredential(), get_Environment_(), getserver(), getuser(), getusergroup()