Application Object

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 Application object represents properties of SQL Distributed Management Objects (SQL-DMO) objects and the user application.

SQL-DMO object model that shows the current object

Properties

BlockingTimeout Property

ODBCVersionString Property

FullName Property

UseCurrentUserServerGroups Property

GroupRegistrationServer Property

VersionBuild Property

GroupRegistrationVersion Property

VersionMajor Property

Name Property

VersionMinor Property

Methods

ListAvailableSQLServers Method

Quit Method

Remarks

The Name property of the Application object cannot be set. SQL-DMO uses the version information structure of the user executable file or dynamic-link library (DLL) to fill this value when the version information structure exists.

With the Application object, you can:

  • Generate a list of available instances of Microsoft SQL Server.
  • Report version information for major components of SQL-DMO.
  • Set a blocking time-out for all SQLServer objects created in the application.