Jaa


CommaIo.status Method

Definition

Retrieves the status of the last operation that was performed on the Io object.

public:
 override Dynamics::AX::Application::IO_Status status();
public override Dynamics.AX.Application.IO_Status status ();
override this.status : unit -> Dynamics.AX.Application.IO_Status
Public Overrides Function status () As IO_Status

Returns

The status of the last operation, in the form of a system enumeration.

Remarks

The return value is represented by the IO_Status system enumeration. The range of possible IO_Status values varies among Io classes.

This example shows how to use the status method. However, this example will not compile in a job, because it must be run in the context of a class, form, or other object.

{ 
    // Create an Io object and perform some operations. 
    if (myIo.status() == IO_Status::OK) 
    { 
        // Go ahead - the last operation was successful. 
    } 
}

Applies to