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