共用方式為


SPRestoreInformation.ChangePersistedObjectParentId method

設定SPPersistedObjectSPRestoreInformation物件的父項識別碼。

Namespace:  Microsoft.SharePoint.Administration.Backup
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'宣告
Public Sub ChangePersistedObjectParentId ( _
    parentId As Guid _
)
'用途
Dim instance As SPRestoreInformation
Dim parentId As Guid

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

參數

備註

如果沒有SPPersistedObjectSPRestoreInformation物件相關聯,此方法只會將父項識別碼。

請參閱

參照

SPRestoreInformation class

SPRestoreInformation members

Microsoft.SharePoint.Administration.Backup namespace