共用方式為


SPWebApplication.CanSelectForRestore Property

Gets or sets a value specifying whether the Web application can be restored.

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

value = instance.CanSelectForRestore

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

Property Value

Type: System.Boolean
true if that the Web application can be restored; otherwise, false. The default value is true.

Implements

IBackupRestore.CanSelectForRestore

See Also

Reference

SPWebApplication Class

SPWebApplication Members

Microsoft.SharePoint.Administration Namespace