共用方式為


SPUserCodeService.AddBackupObjects Method

Adds the SPUserCodeService and any child objects that implement the IBackupRestore interface to the backup or restore operation.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Sub AddBackupObjects ( _
    parent As SPBackupRestoreObject _
)
'Usage
Dim instance As SPUserCodeService
Dim parent As SPBackupRestoreObject

instance.AddBackupObjects(parent)
public void AddBackupObjects(
    SPBackupRestoreObject parent
)

Parameters

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

SPUserCodeService Class

SPUserCodeService Members

Microsoft.SharePoint.Administration Namespace