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)


Public Const SPNewName As String
Dim value As String

value = SPBackupRestoreObject.SPNewName
public const string SPNewName


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


SPBackupRestoreObject Class

SPBackupRestoreObject Members

Microsoft.SharePoint.Administration.Backup Namespace