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