Abort Method

This feature will be removed in a future version of Microsoft SQL Server. Avoid using this feature in new development work, and plan to modify applications that currently use this feature.

The Abort method interrupts a running SQL Distributed Management Objects (SQL-DMO) process, returning control to the application.

Syntax

object
.Abort

Parts

  • object
    Expression that evaluates to an object in the Applies To list.

Prototype (C/C++)

HRESULT Abort();

Remarks

The Abort method exists for objects that expose events only.

Applies to:

Backup Object

Restore Object

BulkCopy Object

Transfer Object