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)
Available in Sandboxed Solutions: No

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