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
parentId
Type: System.GuidThe ID for the parent.
Remarks
This method only sets the parent ID if there is an SPPersistedObject associated with this SPRestoreInformation object.