Share via


SPUserCodeService.CanRenameOnRestore property

Gets a value that indicates whether the SPUserCodeService 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 SPUserCodeService
Dim value As Boolean

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

Property value

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

Implements

IBackupRestore.CanRenameOnRestore

Remarks

This implementation always returns false.

The CanRenameOnRestore property implements the CanRenameOnRestore property that is defined in the IBackupRestore interface for the SPUserCodeService class.

See also

Reference

SPUserCodeService class

SPUserCodeService members

Microsoft.SharePoint.Administration namespace