SPDiagnosticsService.OnBackup 方法
该成员将替代 SPDiagnosticsServiceBase.OnBackup(Object, SPBackupInformation)。
命名空间: Microsoft.SharePoint.Administration
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Public Overrides Function OnBackup ( _
sender As Object, _
info As SPBackupInformation _
) As Boolean
用法
Dim instance As SPDiagnosticsService
Dim sender As Object
Dim info As SPBackupInformation
Dim returnValue As Boolean
returnValue = instance.OnBackup(sender, _
info)
public override bool OnBackup(
Object sender,
SPBackupInformation info
)
参数
- sender
类型:System.Object
返回值
类型:System.Boolean
返回 Boolean。
实现
IBackupRestore.OnBackup(Object, SPBackupInformation)