共用方式為


SPUserCodeProvider.CanSelectForRestore Property

Gets or sets a value indicating whether this item is individually selectable, in the UI, for restoration.

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 SPUserCodeProvider
Dim value As Boolean

value = instance.CanSelectForRestore

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

Property Value

Type: System.Boolean
true if the object is individually selectable for restoration; otherwise, false.

Implements

IBackupRestore.CanSelectForRestore

Remarks

This implementation returns the value of the CanSelectForBackupRestore property. The set accessor does nothing.

See Also

Reference

SPUserCodeProvider Class

SPUserCodeProvider Members

Microsoft.SharePoint.Administration Namespace