SPWebApplication.CanRenameOnRestore property
SharePoint 2013
Gets a value specifying whether the application can be renamed when it is restored.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Gets a value specifying whether the application can be renamed when it is restored.