SPBackupRestoreObject.SPNewLocation field

Defines a String that can be used to set or get the value of the new location 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 SPNewLocation As String
'Usage
Dim value As String

value = SPBackupRestoreObject.SPNewLocation
public const string SPNewLocation

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