SPBackupRestoreObject.Rename method (String, String)
Changes, during a restoration operation, the value of the specified parameter from what it was at the time of the backup to the specified new value.
Namespace: Microsoft.SharePoint.Administration.Backup
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Function Rename ( _
paramName As String, _
inputValue As String _
) As Boolean
'Usage
Dim instance As SPBackupRestoreObject
Dim paramName As String
Dim inputValue As String
Dim returnValue As Boolean
returnValue = instance.Rename(paramName, _
inputValue)
public bool Rename(
string paramName,
string inputValue
)
Parameters
paramName
Type: System.StringThe name of the parameter that is reset.
inputValue
Type: System.StringThe value to which the parameter is set.
Return value
Type: System.Boolean
true if the resetting is successful; otherwise, false.