SPIisWebServiceEndpoint.IBackupRestore.OnPreRestore method
系統會準備還原作業時,會呼叫事件。
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Private Function OnPreRestore ( _
sender As Object, _
info As SPRestoreInformation _
) As Boolean Implements IBackupRestore.OnPreRestore
'用途
Dim instance As SPIisWebServiceEndpoint
Dim sender As Object
Dim info As SPRestoreInformation
Dim returnValue As Boolean
returnValue = CType(instance, IBackupRestore).OnPreRestore(sender, _
info)
boolIBackupRestore.OnPreRestore(
Object sender,
SPRestoreInformation info
)
參數
- sender
Type: System.Object
傳回值
Type: System.Boolean
傳回 Boolean。
Implements
IBackupRestore.OnPreRestore(Object, SPRestoreInformation)
備註
另請參閱Microsoft#SharePoint#Administration#Backup#IBackupRestore#OnPreRestore(Object, SPRestoreInformation)。