Share via


SPBackupRestoreConsole.GetHistory Method (String)

Gets a list of all backup and restore operations made to (or from) the specified location.

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

Syntax

'Declaration
Public Shared Function GetHistory ( _
    directory As String _
) As SPBackupRestoreHistoryList
'Usage
Dim directory As String
Dim returnValue As SPBackupRestoreHistoryList

returnValue = SPBackupRestoreConsole.GetHistory(directory)
public static SPBackupRestoreHistoryList GetHistory(
    string directory
)

Parameters

Return Value

Type: Microsoft.SharePoint.Administration.Backup.SPBackupRestoreHistoryList
A SPBackupRestoreHistoryList that represents all the backup and restore operations associated with directory.

See Also

Reference

SPBackupRestoreConsole Class

SPBackupRestoreConsole Members

GetHistory Overload

Microsoft.SharePoint.Administration.Backup Namespace