SQLServer Object (SQL-DMO)
The SQLServer object exposes the attributes of a server running Microsoft® SQL Server™.
Remarks
The SQLServer object contains the objects and collections that implement SQL Server administrative tasks for SQL-DMO. The object allows SQL-DMO applications to connect to a server running SQL Server by name, establishing the context for administrative tasks.
With the SQLServer object, you can:
- Connect to an existing server running SQL Server.
- Query a server running SQL Server to determine its installed configuration and run-time parameters.
- Add and remove SQL Server objects, such as backup devices, databases, and logins.
- Execute Transact-SQL or operating system commands on the server.
- Disable processes on a server running SQL Server.
- Trap SQL Server events and SQLServer object events, providing status information to SQL-DMO application users or debugging information to SQL-DMO application developers.
Methods
Events
Properties
(c) 1988-98 Microsoft Corporation. All Rights Reserved.