Freigeben über


Application Object

Dieses Feature wird in einer zukünftigen Version von Microsoft SQL Server entfernt. Verwenden Sie dieses Feature beim Entwickeln neuer Anwendungen nicht, und planen Sie das Ändern von Anwendungen, in denen es zurzeit verwendet wird.

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

SQL-DMO-Objektmodell, das das aktuelle Objekt anzeigt

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

Hinweise

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.