共用方式為


SPUserCodeService.CanBackupRestoreAsConfiguration Property

Gets a value that indicates whether the service object can be included in a configuration-only backup or restore operation.

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

Syntax

'Declaration
Public ReadOnly Property CanBackupRestoreAsConfiguration As Boolean
    Get
'Usage
Dim instance As SPUserCodeService
Dim value As Boolean

value = instance.CanBackupRestoreAsConfiguration
public bool CanBackupRestoreAsConfiguration { get; }

Property Value

Type: System.Boolean
true if the object can be included in a configuration-only backup or restore operation; otherwise, false.

Implements

IBackupRestoreConfiguration.CanBackupRestoreAsConfiguration

See Also

Reference

SPUserCodeService Class

SPUserCodeService Members

Microsoft.SharePoint.Administration Namespace