다음을 통해 공유


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