SPWebApplication.CanRenameOnRestore Property
SharePoint 2010
Gets a value specifying whether the application can be renamed when it is restored.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No