Item

Description

Returns the specified item in the collection.

The argument to this method can be either a numeric index (itemNum) or a String (name).

Syntax

VBScript


db_collection.Item(itemNum)
db_collection.Item (name) 

Perl


$db_collection->Item(itemNum);
$db_collection->ItemByName(name); 
Identifier
Description
db_collection
A Databases collection object, representing the set of databases associated with the current schema repository (master database).
itemNum
A Long that serves as an index into the collection. This index is 0-based so the first item in the collection is numbered 0, not 1.
name
A String that serves as a key into the collection. This string corresponds to the unique key of the desired Database object.
Return value
The Database object at the specified location in the collection.