共用方式為


SPBackupRestoreHistoryObject.RestoreId property

取得表示此作業時進行中,如果它不成功的還原作業, SPBackupRestoreConsoleObject的識別碼。

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

Syntax

'宣告
Public ReadOnly Property RestoreId As Guid
    Get
'用途
Dim instance As SPBackupRestoreHistoryObject
Dim value As Guid

value = instance.RestoreId
public Guid RestoreId { get; }

Property value

Type: System.Guid
Guid 代表還原作業的識別碼。

備註

如果作業成功備份, SelfId屬性保留其原始的識別碼。

請參閱

參照

SPBackupRestoreHistoryObject class

SPBackupRestoreHistoryObject members

Microsoft.SharePoint.Administration.Backup namespace