Share via


IisWebServiceBackupBehaviorAttribute.OnRestore method

Method that is called when the system is being restored.

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

Syntax

'Declaration
Public Overridable Function OnRestore ( _
    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.OnRestore(sender, _
    args)
public virtual bool OnRestore(
    Object sender,
    SPRestoreInformation args
)

Parameters

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

IisWebServiceBackupBehaviorAttribute members

Microsoft.SharePoint.Administration namespace