Share via


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