Compartilhar via


IIsWebVirtualDir.AppGetStatus (WMI)

The AppGetStatus method retrieves the status of a Web application.

uiStatus = objIIsWebVirtualDir.AppGetStatus(
)

Parameters

This method has no parameters.

Return Values

Returns a long integer containing of the following values indicating the status of the application:

Value

Value

Meaning

APPSTATUS_NOTDEFINED

2

No application is defined at the specified path.

APPSTATUS_RUNNING

1

The application is running.

APPSTATUS_STOPPED

0

The application is not running.

Requirements

Server: Requires or Windows Server 2003.

Product: IIS

See Also