Partilhar 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)
Available in Sandboxed Solutions: No

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