This topic has not yet been rated - Rate this topic

SPBackupRestoreConsole.SetOnlyBackupRestoreItem Method

Windows SharePoint Services 3
Specifies that only the specified component and its children will be the backed up or restored.

Namespace: Microsoft.SharePoint.Administration.Backup
Assembly: Microsoft.SharePoint (in microsoft.sharepoint.dll)
public static bool SetOnlyBackupRestoreItem (
	Guid id,
	SPBackupRestoreObject item
)

Parameters

id

The Guid ID of the SPBackupRestoreConsoleObject that represents the backup or restore operation.

item

The SPBackupRestoreObject that represents the component that is backed up or restored.

Return Value

true if the operation succeeds; otherwise, false.

SetOnlyBackupRestoreItem excludes the parent of item and any of its other children from the operation.

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.