SQL-DMO Objects and SQL Server Administration

SQL-DMO encapsulates Microsoft® SQL Server™ components, presenting the attributes of the component piece to you as the properties of an object instance. Alter the properties of the instance, or use object methods to automate SQL Server administration.

An installed SQL Server may be viewed as a collection of components. A component is not simply a database object or a system database record, such as that defining an operator. It can be a more abstract construct, such as the current configuration of an installed SQL Server. For example:

With SQL-DMO, you can use:

Essentially, SQL-DMO has three object types:

All SQL-DMO objects expose properties, such as Name or Count, identifying instance data. Most expose methods, such as BindToColumn or MSXEnlist, which act upon an instance and usually modify instance data in some fashion. A few objects support events, such as PercentComplete, which provide object state or other data back to the client application.

  


(c) 1988-98 Microsoft Corporation. All Rights Reserved.