Share via


SPBackupRestoreObject.SPNewName field

Defines a String that can be used to set or get the value of the new name parameter in the object returned by the Information property.

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

Syntax

'Declaration
Public Const SPNewName As String
'Usage
Dim value As String

value = SPBackupRestoreObject.SPNewName
public const string SPNewName

Remarks

This field is especially valuable when you are creating your own UI for your restore operations: set this field with a value obtained from the user. For example, this is done in SharePoint Foundation in the New Names section of the Restore from Backup - Step 4 of 4 page of the Central Administration application.

For more information on the use of this constant see GetParameter and SetParameter.

See also

Reference

SPBackupRestoreObject class

SPBackupRestoreObject members

Microsoft.SharePoint.Administration.Backup namespace