SPWebApplication.RenameApplicationPool method

Renames the application pool on all servers and updates the database.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Sub RenameApplicationPool ( _
    newName As String _
)
'Usage
Dim instance As SPWebApplication
Dim newName As String

instance.RenameApplicationPool(newName)
public void RenameApplicationPool(
    string newName
)

Parameters

  • newName
    Type: System.String

    The new name for the application pool.

See also

Reference

SPWebApplication class

SPWebApplication members

Microsoft.SharePoint.Administration namespace