共用方式為


SPDiagnosticsServiceBase.CanSelectForBackup Property

Gets or sets a Boolean value that indicates whether the SPDiagnosticsServiceBase object can be selected for a backup operation in the Central Administration user interface (UI).

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Overridable Property CanSelectForBackup As Boolean
    Get
    Set
'Usage
Dim instance As SPDiagnosticsServiceBase
Dim value As Boolean

value = instance.CanSelectForBackup

instance.CanSelectForBackup = value
public virtual bool CanSelectForBackup { get; set; }

Property Value

Type: System.Boolean
true if the SPDiagnosticesServiceBase can be selected; otherwise, false.

Implements

IBackupRestore.CanSelectForBackup

Remarks

This implementation always returns false, and the set accessor does nothing.

See Also

Reference

SPDiagnosticsServiceBase Class

SPDiagnosticsServiceBase Members

Microsoft.SharePoint.Administration Namespace