ISiteStatusProvider.GetSiteStatus Method (Site, String)

IIS 7.0
 

Returns the running state of the site and provides an error message.

Namespace:   Microsoft.Web.Management.Server
Assembly:  Microsoft.Web.Management (in Microsoft.Web.Management.dll)

ObjectState GetSiteStatus(
	Site site,
	out string errorMessage
)

Parameters

site
Type: Microsoft.Web.Administration.Site

The site to get the status for.

errorMessage
Type: System.String

When this method returns, contains an error message associated with the exception. This parameter is passed uninitialized.

You can view the state of the sites on the Sites page of IIS Manager.

Return to top
Show: