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)