Description

Provides information about an McDBNode reference in this McDBNodes collection.

Property type

A String value.  

Syntax

object.ItemInfo(Index, [DesiredInfo])

The ItemInfo Property syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type McDBNodes.
IndexRequired. A Long value.

The [long] ordinal index into this McDBNodes collection of the Item for which to retreive the reference information. This value is the same as a numeric Index to Item.

DesiredInfoOptional. A mcdbInfoType enumeration, as described in settings.

The type of information to retrieve about the reference (mcdbDatabaseName by default)

Settings

The settings for DesiredInfo are:

ConstantValueDescription
 mcdbDatabaseName0

The logical McDBDatabase.Name

 mcdbServerName1

The McDBDatabase.Server

 mcdbID2

The McDBNode.Id

 mcdbAliasName3

The McDBNode.Name in this context

 mcdbState4

Accessibility of the McDBNode

Remarks

A McDBNodes collection can contain references to McDBNode instances that do not resolve (e.g. if their targets reside in an unavailable foreign McDBDatabase). This method will return the information available about any reference in this McDBNodes collection.

Exceptions

Error Value Description
E_INVALIDARG &H80070057 There is no McDBNode at Index.
E_FAIL &H80004005 DesiredInfo is mcdbAliasName and this McDBNodes is not an McDBNode.Children collection. Alias names only apply from a parent McDBNode to its Children.
E_UNEXPECTED &H8001FFFF A framework error occured trying to get the reference information. The reference is probably corrupt or damaged.
E_ACCESSDENIED &H80070005 The McDBDatabase.LoggedUser does not have sufficient rights to read the reference.

Notes

This method will often (but not always) provide information about a McDBNode referenced in this McDBNodes when Item returns Nothing.