C/C++ Specifics

This feature will be removed in a future version of Microsoft SQL Server. Avoid using this feature in new development work, and plan to modify applications that currently use this feature.

This section presents information required by the C or C++ developer who creates a SQL Distributed Management Objects (SQL-DMO) application.

When Sqldmo.h and Sqldmoid.h are included in a C/C++ source file, SQL-DMO makes visible:

  • Class and interface IDs for SQL-DMO objects.
  • Pointer types used to maintain references on SQL-DMO objects.
  • Two scope-aware template classes that can simplify OLE object reference maintenance.
  • C/C++ shortcuts for collection and list handling.
  • Macros aiding property setting.