次の方法で共有


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)

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