Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.ObjectThe database object that is being backed up.
args
Type: Microsoft.SharePoint.Administration.Backup.SPBackupInformationThe information about the backup operation.
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.