ApplicationPool.Stop Method

Definition

Stops the current application pool.

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

The current ObjectState value of the application pool.

Remarks

This method stops the application pool and then returns the new application pool state.

Applies to