SPRestoreInformation.ChangePersistedObjectParentId 方法

设置SPPersistedObjectSPRestoreInformation对象相关联的父 ID。

命名空间:  Microsoft.SharePoint.Administration.Backup
程序集:  Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)

语法

声明
Public Sub ChangePersistedObjectParentId ( _
    parentId As Guid _
)
用法
Dim instance As SPRestoreInformation
Dim parentId As Guid

instance.ChangePersistedObjectParentId(parentId)
public void ChangePersistedObjectParentId(
    Guid parentId
)

参数

备注

此方法只设置父 ID,如果没有与此SPRestoreInformationSPPersistedObject

另请参阅

引用

SPRestoreInformation 类

SPRestoreInformation 成员

Microsoft.SharePoint.Administration.Backup 命名空间