共用方式為


SPBackupRestoreObject.IsRoot property

取得一個值,指出是否SPBackupRestoreObject所表示的元件是元件的樹狀目錄的根目錄。

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

Syntax

'宣告
Public ReadOnly Property IsRoot As Boolean
    Get
'用途
Dim instance As SPBackupRestoreObject
Dim value As Boolean

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

Property value

Type: System.Boolean
true如果元件是根目錄 ;否則,請false。

備註

在SharePoint Foundation,根目錄一定是伺服器陣列。

請參閱

參照

SPBackupRestoreObject class

SPBackupRestoreObject members

Microsoft.SharePoint.Administration.Backup namespace