Partilhar via


SPUserCodeProvider.CanRenameOnRestore Property

Gets a value that indicates whether the SPUserCodeProvider object can be renamed when 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 SPUserCodeProvider
Dim value As Boolean

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

Property Value

Type: System.Boolean
true if this object can be renamed on restore; otherwise, false.

Implements

IBackupRestore.CanRenameOnRestore

Remarks

This implementation always returns false.

See Also

Reference

SPUserCodeProvider Class

SPUserCodeProvider Members

Microsoft.SharePoint.Administration Namespace