Pause 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 Pause method temporarily suspends Microsoft SQL Server service execution.

Syntax

object.Pause()

Parts

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

Prototype (C/C++)

HRESULT Pause();

Remarks

The SQL Server service is implemented as a Microsoft Windows service that can be paused. When the Pause method is used to suspend service execution, use the Continue method to restart execution.

Applies To: