SPWebApplication.AddBackupObjects 方法
将 Web 应用程序及其子级添加到备份/还原作业。
命名空间: Microsoft.SharePoint.Administration
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Public Sub AddBackupObjects ( _
parent As SPBackupRestoreObject _
)
用法
Dim instance As SPWebApplication
Dim parent As SPBackupRestoreObject
instance.AddBackupObjects(parent)
public void AddBackupObjects(
SPBackupRestoreObject parent
)
参数
parent
类型:Microsoft.SharePoint.Administration.Backup.SPBackupRestoreObjectSPBackupRestoreObject来自该对象的父对象。
实现
IBackupRestore.AddBackupObjects(SPBackupRestoreObject)
备注
此方法仅用于被调用从SharePoint Foundation灾难备份和恢复基础结构代码。