Share via


SPDiagnosticsServiceBase.CanSelectForRestore property

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

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

Syntax

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

value = instance.CanSelectForRestore

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

Property value

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

Implements

IBackupRestore.CanSelectForRestore

Remarks

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

See also

Reference

SPDiagnosticsServiceBase class

SPDiagnosticsServiceBase members

Microsoft.SharePoint.Administration namespace