Previous Topic: AddAssocNext Topic: DelAssoc


CountCardManyAsc

This method returns a count of the number of objects that are associated with a the current object using a given association. The only parameter is the association type code.

Syntax

object.CountCardManyAsc nAscTypeCode

Parameters

object

An expression that evaluates to a MetaModelObject.

nAscTypeCode

 A long value indicating the type of association to follow.

Remarks

EAPI_SUCCESSFUL_RC - indicates a successful execution

EAPI_ATC_INVALID_RC - if object type code is invalid

EAPI_OBJECT_NOT_FOUND_RC - indicates that the current object is invalid