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.StringThe new name for the application pool.