다음을 통해 공유


SearchAdminDatabase.OnRestore Method

Provides the method that is called when the database is being restored.

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

Syntax

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

returnValue = instance.OnRestore(sender, _
    args)
public override bool OnRestore(
    Object sender,
    SPRestoreInformation args
)

Parameters

  • sender
    Type: System.Object

    The database that is being restored.

Return Value

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

Implements

IBackupRestore.OnRestore(Object, SPRestoreInformation)

Remarks

This method overrides the OnRestore(Object, SPRestoreInformation) method in the IBackupRestore interface.

See Also

Reference

SearchAdminDatabase Class

SearchAdminDatabase Members

Microsoft.Office.Server.Search.Administration Namespace