SPUserCodeLoadBalancerProvider.OnRestore method
還原系統時所呼叫的事件。
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Overrides Function OnRestore ( _
sender As Object, _
info As SPRestoreInformation _
) As Boolean
'用途
Dim instance As SPUserCodeLoadBalancerProvider
Dim sender As Object
Dim info As SPRestoreInformation
Dim returnValue As Boolean
returnValue = instance.OnRestore(sender, _
info)
public override bool OnRestore(
Object sender,
SPRestoreInformation info
)
參數
sender
Type: System.Object呼叫此事件物件。
info
Type: Microsoft.SharePoint.Administration.Backup.SPRestoreInformation物件的還原資訊。
傳回值
Type: System.Boolean
會傳回Booleantrue如果順利完成否則為 false。
Implements
IBackupRestore.OnRestore(Object, SPRestoreInformation)
IBackupRestore.OnRestore(Object, SPRestoreInformation)
備註
此函數不應該呼叫來備份與還原程序以外的任何項目。
請參閱
參照
SPUserCodeLoadBalancerProvider class