SQL Distributed Management Objects (SQL-DMO) encapsulate the objects found in Microsoft® SQL Server™ 2000 databases. SQL-DMO allows applications written in languages that support Automation or COM to administer all parts of a SQL Server installation. SQL-DMO is the application programming interface (API) used by SQL Server Enterprise Manager in SQL Server 2000; therefore, applications using SQL-DMO can perform all functions performed by SQL Server Enterprise Manager.
SQL-DMO is intended for any Automation or COM application that must incorporate SQL Server administration, for example:
The SQL Server 2000 compact disc contains support for a new API that will allow you to administer instances of SQL Server using Windows Management Instrumentation (WMI). WMI is a scalable Windows® 2000 component with an object-oriented API that lets management applications and scripts monitor, configure, and control the operating system and devices, services, and applications in a Windows network. Using standard Windows security, WMI allows only properly authorized users to manage the system. WMI core components are also available for Windows NT® 4.0, Windows 95, and Windows 98. For more information about the WMI support for these operating systems, see the MSDN® page at Microsoft Web site.
A component, such as SQL Server, enables WMI support by supplying a WMI provider and defining a WMI class schema. The schema models the objects in the component that can be managed using WMI. SQL Server 2000 includes a SQL Server WMI provider and a schema class model that maps instances of SQL Server 2000 to WMI classes. The SQL Server WMI schema models objects such as databases and tables. The SQL Server WMI implementation provides management functions such as:
All WMI data is available remotely and is fully scriptable. The SQL Server 2000 WMI implementation maps over the SQL-DMO API, but does not support the management of replication. The SQL Server WMI implementation can be used with SQL Server 7.0.
The SQL Server WMI support is not installed by SQL Server 2000 Setup. All of the WMI materials, including a separate setup and documentation, are included in the folder \x86\OTHER\wmi on the SQL Server 2000 compact disc.