Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

SPDiagnosticsServiceBase.OnBackup method

Raises the Backup event.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
public virtual bool OnBackup(
	Object sender,
	SPBackupInformation info
)

Parameters

sender
Type: System.Object

The object that represents the SPDiagnosticsServiceBase that is being backed up.

info
Type: Microsoft.SharePoint.Administration.Backup.SPBackupInformation

An SPBackupInformation object that contains data about the event.

Return value

Type: System.Boolean
true if successful; otherwise, false.

Implements

IBackupRestore.OnBackup(Object, SPBackupInformation)

This implementation always returns true.

This method is only intended to be called from catastrophic backup and restore infrastructure code in SharePoint Foundation.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.