This topic has not yet been rated - Rate this topic

Axapta.GetObjectCount Method

The GetObjectCount method retrieves the number of AxaptaObject objects.

Namespace: Microsoft.Dynamics.BusinessConnectorNet
Assembly: Microsoft.Dynamics.BusinessConnectorNet (in microsoft.dynamics.businessconnectornet.dll)
'Usage
Dim returnValue As Integer
Dim axapta1 As Axapta
returnValue = axapta1.GetObjectCount()
public int GetObjectCount();
public int GetObjectCount();
public function GetObjectCount() : int;

Return Value

The return value is the number of AxaptaObject objects.
Exception typeCondition
BusinessConnectorException

An unexpected error has occurred with the Business Connector.

NotLoggedOnException

The requested operation cannot be performed because the user is not logged on to Microsoft Dynamics AX.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.