ApplicationPool.Recycle ApplicationPool.Recycle ApplicationPool.Recycle ApplicationPool.Recycle Method

Definition

Recycles the current application pool.

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

Returns

Remarks

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

Applies to