SPBackupRestoreConsole.FormatTree method
取得SharePoint Foundation元件的階層的樹狀檢視中的下一個內容資料庫層級的備份或還原作業。
Namespace: Microsoft.SharePoint.Administration.Backup
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Shared Function FormatTree ( _
id As Guid, _
format As IBackupRestoreTreeFormatter _
) As StringBuilder
'用途
Dim id As Guid
Dim format As IBackupRestoreTreeFormatter
Dim returnValue As StringBuilder
returnValue = SPBackupRestoreConsole.FormatTree(id, _
format)
public static StringBuilder FormatTree(
Guid id,
IBackupRestoreTreeFormatter format
)
參數
id
Type: System.Guid代表備份或還原作業SPBackupRestoreConsoleObjectGuid識別碼。
format
Type: Microsoft.SharePoint.Administration.Backup.IBackupRestoreTreeFormatter會定義的格式樹狀目錄的物件。
傳回值
Type: System.Text.StringBuilder
StringBuilder 代表樹狀檢視中的元件。