Share via


Close 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 Close method disconnects the SQLServer object and removes the object from the SQLServers collection of the Application object.

Syntax

object
.Close( )

Parts

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

Prototype (C/C++)

HRESULT Close();

Applies to:

SQLServer Object