Share via


SearchAdminDatabase.OnBackup Method

Provides the method called when the database is being backed up.

Namespace:  Microsoft.Office.Server.Search.Administration
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)

Syntax

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

returnValue = instance.OnBackup(sender, _
    args)
public override bool OnBackup(
    Object sender,
    SPBackupInformation args
)

Parameters

  • sender
    Type: System.Object

    The database object that is being backed up.

Return Value

Type: System.Boolean
true if successful; otherwise, false.

Implements

IBackupRestore.OnBackup(Object, SPBackupInformation)

Remarks

This method implements the OnBackup(Object, SPBackupInformation) method defined in the IBackupRestore interface.

See Also

Reference

SearchAdminDatabase Class

SearchAdminDatabase Members

Microsoft.Office.Server.Search.Administration Namespace