Condividi tramite


SPUserCodeService.CanSelectForRestore Property

Gets or sets a value that indicates whether the SPUserCodeService can be selected individually for a restore operation.

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

Syntax

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

value = instance.CanSelectForRestore

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

Property Value

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

Implements

IBackupRestore.CanSelectForRestore

Remarks

The implementation always returns true, and the set accessor does nothing.

The CanSelectForRestore property implements the CanSelectForRestore property that is defined in the IBackupRestore interface for the SPUserCodeService class.

See Also

Reference

SPUserCodeService Class

SPUserCodeService Members

Microsoft.SharePoint.Administration Namespace