IisWebServiceBackupBehaviorAttribute.CanRenameOnRestore property
Indicates whether the item can be renamed or not on restore with the option to rename.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Overridable ReadOnly Property CanRenameOnRestore As Boolean
Get
'Usage
Dim instance As IisWebServiceBackupBehaviorAttribute
Dim value As Boolean
value = instance.CanRenameOnRestore
public virtual bool CanRenameOnRestore { get; }
Property value
Type: System.Boolean
Returns Boolean.
Remarks
If this is true then the new location and new name will be stored in:
String newLocation = (String)args.Parameters[SPBackupRestoreObject.SPNewLocation];
String newName = (String)args.Parameters[SPBackupRestoreObject.SPNewName];
String newServer = (String)args.Parameters[SPBackupRestoreObject.SPNewServer];
See also
Reference
IisWebServiceBackupBehaviorAttribute class