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