SPDiagnosticsServiceBase.AddBackupObjects Method
Adds the SPDiagnosticesServiceBase object to the backup/restore operation.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Overridable Sub AddBackupObjects ( _
parent As SPBackupRestoreObject _
)
'Usage
Dim instance As SPDiagnosticsServiceBase
Dim parent As SPBackupRestoreObject
instance.AddBackupObjects(parent)
public virtual void AddBackupObjects(
SPBackupRestoreObject parent
)
Parameters
parent
Type: Microsoft.SharePoint.Administration.Backup.SPBackupRestoreObjectThe backup object to which the SPDiagnosticsServiceBase object is added.
Implements
IBackupRestore.AddBackupObjects(SPBackupRestoreObject)
Remarks
This method is only intended to be called from catastrophic backup and restore infrastructure code in SharePoint Foundation.
See Also
Reference
SPDiagnosticsServiceBase Class