Newer Version Available

This content describes an older version of this product. View Latest

checkStatus()

Deprecated. Checks the status of asynchronous metadata calls create(), update(), or delete(), or the declarative metadata call retrieve(). This call is removed as of API version 31.0 and is available only in earlier versions.

Starting in API version 29.0, you no longer have to call checkStatus() after a deploy() call to get information about deployments. Similarly, starting in API version 31.0, you no longer have to call checkStatus() after a retrieve() call. The checkStatus() call has been replaced by checkDeployStatus() and checkRetrieveStatus() for deploy and retrieve operations respectively.

Note

Syntax

1AsyncResult[] = metadatabinding.checkStatus(ID[] ids);

Usage

Use this call to check whether an asynchronous metadata call or declarative metadata call has completed.

Version

This call is available only in API version 30.0 and earlier. This call isn’t available in API version 31.0 and later.

Sample Code—Java

See Step 3: Walk Through the Java Sample Code for sample Java code using this call.

Arguments

Name Type Description
ids ID[] Array of one or more IDs. Each ID is returned in an AsyncResult and corresponds to a component being created, updated, deleted, deployed, or retrieved.

Response

AsyncResult[]