Quit 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 Quit method disconnects all SQLServer objects referenced by an application and forces a release of all application-maintained references on SQL Distributed Management Objects (SQL-DMO) objects.

Syntax

object.Quit()

Parts

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

Prototype (C/C++)

HRESULT Quit();

Applies To: