Compartilhar via


SPUserCodeProvider.CanBackupRestoreAsConfiguration Property

Gets a value that indicates whether the provider object can be selected for inclusion 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 SPUserCodeProvider
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 restoration; otherwise, false.

Implements

IBackupRestoreConfiguration.CanBackupRestoreAsConfiguration

Remarks

This implementation always returns true.

See Also

Reference

SPUserCodeProvider Class

SPUserCodeProvider Members

Microsoft.SharePoint.Administration Namespace