共用方式為


SPBackupRestoreConsole.CurrentlyRunning property

取得的物件,代表目前正在執行備份或還原作業。

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

Syntax

'宣告
Public Shared ReadOnly Property CurrentlyRunning As SPBackupRestoreConsoleObject
    Get
'用途
Dim value As SPBackupRestoreConsoleObject

value = SPBackupRestoreConsole.CurrentlyRunning
public static SPBackupRestoreConsoleObject CurrentlyRunning { get; }

Property value

Type: Microsoft.SharePoint.Administration.Backup.SPBackupRestoreConsoleObject
SPBackupRestoreConsoleObject 表示目前的作業。

請參閱

參照

SPBackupRestoreConsole class

SPBackupRestoreConsole members

Microsoft.SharePoint.Administration.Backup namespace