GetCurrentStatus Method

This method returns the status of the indicated Targetted Mail server instance.

IDL Definition

HRESULT GetCurrentStatus(
[in] long lInst, 
[out] VARIANT *pStatus /* VT_I4 */
);

Parameters

lInst

the instance identifier indicating the instance to check.

pStatus

on return, an integer specifying the status.  The table below enumerates the possible return values

Typedef Meaning
VINST_STOPPED = 0 the instance is not running.
VINST_PAUSED = 1 the instance is idling.
VINST_STARTED = 2 the instance is running.

Return Values

a standard HRESULT value


© 1997-1998 Microsoft Corporation. All rights reserved.