Share via


BackupRestoreBase.AsyncStatus Property

Gets the asynchronous status of a backup or restore process.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.SmoExtended (in Microsoft.SqlServer.SmoExtended.dll)

Syntax

'Declaration
Public ReadOnly Property AsyncStatus As AsyncStatus 
    Get
'Usage
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

Property Value

Type: Microsoft.SqlServer.Management.Smo.AsyncStatus
An AsyncStatus object value that specifies the asynchronous status of the process.

Examples

Backing Up and Restoring Databases and Transaction Logs

See Also

Reference

BackupRestoreBase Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

BACKUP (Transact-SQL)

RESTORE (Transact-SQL)