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)
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