IisWebServiceBackupBehaviorAttribute.OnBackup Method

Method called when the system is being backed up.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Overridable Function OnBackup ( _
    sender As Object, _
    args As SPBackupInformation _
) As Boolean
'Usage
Dim instance As IisWebServiceBackupBehaviorAttribute
Dim sender As Object
Dim args As SPBackupInformation
Dim returnValue As Boolean

returnValue = instance.OnBackup(sender, _
    args)
public virtual bool OnBackup(
    Object sender,
    SPBackupInformation 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