Share via


SPBackupRestoreConsole.RequiresRename method

Gets a value that indicates whether a restore operation's method is creating a new copy of the backed up components (in which case the components must be renamed) or is overwriting an existing version.

Namespace:  Microsoft.SharePoint.Administration.Backup
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Shared Function RequiresRename ( _
    id As Guid _
) As Boolean
'Usage
Dim id As Guid
Dim returnValue As Boolean

returnValue = SPBackupRestoreConsole.RequiresRename(id)
public static bool RequiresRename(
    Guid id
)

Parameters

Return value

Type: System.Boolean
true if the components must be renamed (because restore method is New); otherwise, false.

See also

Reference

SPBackupRestoreConsole class

SPBackupRestoreConsole members

Microsoft.SharePoint.Administration.Backup namespace