次の方法で共有


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