Application Object

后续版本的 Microsoft SQL Server 将删除该功能。请避免在新的开发工作中使用该功能,并着手修改当前还在使用该功能的应用程序。

The Application object represents properties of SQL Distributed Management Objects (SQL-DMO) objects and the user application.

显示当前对象的 SQL-DMO 对象模型

注释

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.