SPFarm.AddBackupObjects 方法
将服务器场及其子级添加到备份/恢复操作。
命名空间: Microsoft.SharePoint.Administration
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Public Sub AddBackupObjects ( _
parent As SPBackupRestoreObject _
)
用法
Dim instance As SPFarm
Dim parent As SPBackupRestoreObject
instance.AddBackupObjects(parent)
public void AddBackupObjects(
SPBackupRestoreObject parent
)
参数
parent
类型:Microsoft.SharePoint.Administration.Backup.SPBackupRestoreObject从该对象包含要备份的项或还原SPBackupRestoreObject 。
实现
IBackupRestore.AddBackupObjects(SPBackupRestoreObject)
备注
此方法仅用于被调用从灾难性的备份和恢复基础结构代码在SharePoint Foundation中。