Share via


SPWebApplication.CanRenameOnRestore property

Gets a value specifying whether the application can be renamed when it is restored.

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

Syntax

'Declaration
Public ReadOnly Property CanRenameOnRestore As Boolean
    Get
'Usage
Dim instance As SPWebApplication
Dim value As Boolean

value = instance.CanRenameOnRestore
public bool CanRenameOnRestore { get; }

Property value

Type: System.Boolean
true if the application can be renamed; otherwise, false.

Implements

IBackupRestore.CanRenameOnRestore

See also

Reference

SPWebApplication class

SPWebApplication members

Microsoft.SharePoint.Administration namespace