共用方式為


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.