Compartilhar via


SPFarm.CanRenameOnRestore Property

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

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

Property Value

Type: System.Boolean
This value is always false.

Implements

IBackupRestore.CanRenameOnRestore

Remarks

The CanRenameOnRestore property implements the CanRenameOnRestore property that is defined in the Microsoft.SharePoint.Administration.Backup.IBackupRestore interface for the SPFarm class.

See Also

Reference

SPFarm Class

SPFarm Members

Microsoft.SharePoint.Administration Namespace