共用方式為


SPBackupRestoreObject.IsRoot Property

Gets a value that indicates whether the component that is represented by the SPBackupRestoreObject is the root of the tree of components.

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

Syntax

'Declaration
Public ReadOnly Property IsRoot As Boolean
    Get
'Usage
Dim instance As SPBackupRestoreObject
Dim value As Boolean

value = instance.IsRoot
public bool IsRoot { get; }

Property Value

Type: System.Boolean
true if the component is the root; otherwise, false.

Remarks

In SharePoint Foundation, the root is always the farm.

See Also

Reference

SPBackupRestoreObject Class

SPBackupRestoreObject Members

Microsoft.SharePoint.Administration.Backup Namespace