Compartir a través de


Application Object

Esta característica se quitará en una versión futura de Microsoft SQL Server. Evite utilizar esta característica en nuevos trabajos de desarrollo y tenga previsto modificar las aplicaciones que actualmente la utilizan.

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

Modelo de objeto SQL-DMO con el objeto actual

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

Notas

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.