Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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)
Available in Sandboxed Solutions: No
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