ApplicationPool.Recycle Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
One of the ObjectState values.
Remarks
This method recycles the application pool and then returns the new application pool state.