共用方式為


BackupRestoreBase.AsyncStatus 屬性

取得備份或還原程序的非同步狀態。

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.SmoExtended (在 Microsoft.SqlServer.SmoExtended.dll 中)

語法

'宣告
Public ReadOnly Property AsyncStatus As AsyncStatus 
    Get
'用途
Dim instance As BackupRestoreBase 
Dim value As AsyncStatus 

value = instance.AsyncStatus
public AsyncStatus AsyncStatus { get; }
public:
property AsyncStatus^ AsyncStatus {
    AsyncStatus^ get ();
}
member AsyncStatus : AsyncStatus
function get AsyncStatus () : AsyncStatus

屬性值

型別:Microsoft.SqlServer.Management.Smo.AsyncStatus
AsyncStatus 物件值,指定程序的非同步狀態。

範例

備份及還原資料庫和交易記錄

請參閱

參考

BackupRestoreBase 類別

Microsoft.SqlServer.Management.Smo 命名空間

其他資源

BACKUP (Transact-SQL)

RESTORE (Transact-SQL)