Share via


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.String

    The name of the parameter that is reset.

  • inputValue
    Type: System.String

    The value to which the parameter is set.

Return Value

Type: System.Boolean
true if the resetting is successful; otherwise, false.

See Also

Reference

SPBackupRestoreObject Class

SPBackupRestoreObject Members

Rename Overload

Microsoft.SharePoint.Administration.Backup Namespace