Share via


SPWebService.CanRenameOnRestore property

Gets a value indicating whether the service 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 SPWebService
Dim value As Boolean

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

Property value

Type: System.Boolean
true indicates the service can be renamed; otherwise, false.

Implements

IBackupRestore.CanRenameOnRestore

See also

Reference

SPWebService class

SPWebService members

Microsoft.SharePoint.Administration namespace