Share via


SPIisWebServiceEndpoint.IBackupRestore.OnPreRestore method

The event that is called when the system is preparing a restore operation.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Private Function OnPreRestore ( _
    sender As Object, _
    info As SPRestoreInformation _
) As Boolean Implements IBackupRestore.OnPreRestore
'Usage
Dim instance As SPIisWebServiceEndpoint
Dim sender As Object
Dim info As SPRestoreInformation
Dim returnValue As Boolean

returnValue = CType(instance, IBackupRestore).OnPreRestore(sender, _
    info)
boolIBackupRestore.OnPreRestore(
    Object sender,
    SPRestoreInformation info
)

Parameters

Return value

Type: System.Boolean
Returns Boolean.

Implements

IBackupRestore.OnPreRestore(Object, SPRestoreInformation)

Remarks

See also Microsoft#SharePoint#Administration#Backup#IBackupRestore#OnPreRestore(Object, SPRestoreInformation).

See also

Reference

SPIisWebServiceEndpoint class

SPIisWebServiceEndpoint members

Microsoft.SharePoint.Administration namespace