SPBackupRestoreObject.SPNewServer Field
Defines a String that can be used to set or get the value of the new server 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 SPNewServer As String
'Usage
Dim value As String
value = SPBackupRestoreObject.SPNewServer
public const string SPNewServer
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.