SPRestoreInformation.Rename Method
Renames, with NewName, the component that is being restored.
Namespace: Microsoft.SharePoint.Administration.Backup
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Sub Rename
'Usage
Dim instance As SPRestoreInformation
instance.Rename()
public void Rename()