Site.Stop Method

Definition

Stops the Web site and sets the State property of the Site object to Stopped.

public:
 Microsoft::Web::Administration::ObjectState Stop();
public Microsoft.Web.Administration.ObjectState Stop ();
member this.Stop : unit -> Microsoft.Web.Administration.ObjectState
Public Function Stop () As ObjectState

Returns

One of the ObjectState values.

Applies to