共用方式為


IBackupRestoreConfiguration.CanBackupRestoreAsConfiguration Property

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

Namespace:  Microsoft.SharePoint.Administration.Backup
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

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

value = instance.CanBackupRestoreAsConfiguration
bool CanBackupRestoreAsConfiguration { get; }

Property Value

Type: System.Boolean
true if users should be given the option to include the component in a configuration-only backup or restore; otherwise, false.

Remarks

If you implement this interface at all, then you should implement this property to always return true.

See Also

Reference

IBackupRestoreConfiguration Interface

IBackupRestoreConfiguration Members

Microsoft.SharePoint.Administration.Backup Namespace