Share via


CallJob Method (String)

The CallJob method calls the specified Axapta job.

Namespace:  Microsoft.Dynamics.BusinessConnectorNet
Assembly:  Microsoft.Dynamics.BusinessConnectorNet (in Microsoft.Dynamics.BusinessConnectorNet.dll)

Syntax

'Declaration
Public Sub CallJob ( _
    jobName As String _
)
'Usage
Dim instance As Axapta
Dim jobName As String

instance.CallJob(jobName)
public void CallJob(
    string jobName
)
public:
void CallJob(
    String^ jobName
)

Parameters

Exceptions

Exception Condition
AxaptaException

An unexpected error has occurred with Axapta.

BusinessConnectorException

An unexpected error has occurred with the Business Connector.

NoSecurityKeyException

The requested operation cannot be performed because the required security key does not exist.

NotLoggedOnException

The requested operation cannot be performed because the user is not logged on to Axapta.

ArgumentException

An argument passed to the method is invalid.

ArgumentNullException

A null reference was passed to a method that does not accept it as a valid argument.

See Also

Reference

Axapta Class

CallJob Overload

Microsoft.Dynamics.BusinessConnectorNet Namespace