共用方式為


SPBackupRestoreConsole.FormatTree Method

Gets a tree view of the hierarchy of SharePoint Foundation components in the backup or restore operation down to the level of the content databases.

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

Syntax

'Declaration
Public Shared Function FormatTree ( _
    id As Guid, _
    format As IBackupRestoreTreeFormatter _
) As StringBuilder
'Usage
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
)

Parameters

Return Value

Type: System.Text.StringBuilder
A StringBuilder that represents a tree view of components.

See Also

Reference

SPBackupRestoreConsole Class

SPBackupRestoreConsole Members

Microsoft.SharePoint.Administration.Backup Namespace