Share via


SPRestoreInformation.ChangePersistedObjectParentId Method

Sets the parent ID of the SPPersistedObject associated with the SPRestoreInformation object.

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

Syntax

'Declaration
Public Sub ChangePersistedObjectParentId ( _
    parentId As Guid _
)
'Usage
Dim instance As SPRestoreInformation
Dim parentId As Guid

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

Parameters

Remarks

This method only sets the parent ID if there is an SPPersistedObject associated with this SPRestoreInformation object.

See Also

Reference

SPRestoreInformation Class

SPRestoreInformation Members

Microsoft.SharePoint.Administration.Backup Namespace