IisWebServiceBackupBehaviorAttribute.OnPreRestore Method
Method that is called when the system is preparing for a restore.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Overridable Function OnPreRestore ( _
sender As Object, _
args As SPRestoreInformation _
) As Boolean
'Usage
Dim instance As IisWebServiceBackupBehaviorAttribute
Dim sender As Object
Dim args As SPRestoreInformation
Dim returnValue As Boolean
returnValue = instance.OnPreRestore(sender, _
args)
public virtual bool OnPreRestore(
Object sender,
SPRestoreInformation args
)
Parameters
sender
Type: System.ObjectThe object calling this event.
args
Type: Microsoft.SharePoint.Administration.Backup.SPRestoreInformationThe backup information for the object.
Return Value
Type: System.Boolean
Returns Boolean.
Remarks
This function should not be called by anything except the backup/restore process.
See Also
Reference
IisWebServiceBackupBehaviorAttribute Class