共用方式為


SPDiagnosticsServiceBase.CanBackupRestoreAsConfiguration Property

Gets a value that indicates whether the service 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 Overridable ReadOnly Property CanBackupRestoreAsConfiguration As Boolean
    Get
'Usage
Dim instance As SPDiagnosticsServiceBase
Dim value As Boolean

value = instance.CanBackupRestoreAsConfiguration
public virtual 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

Remarks

This implementation always returns true.

See Also

Reference

SPDiagnosticsServiceBase Class

SPDiagnosticsServiceBase Members

Microsoft.SharePoint.Administration Namespace