共用方式為


SPFarm.CanBackupRestoreAsConfiguration Property

Gets a value that indicates whether the farm 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 SPFarm
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

See Also

Reference

SPFarm Class

SPFarm Members

Microsoft.SharePoint.Administration Namespace