Solved

C++ API implementation of SQL SMO

Posted on 2007-12-06
2
1,068 Views
Last Modified: 2011-04-14
Is there a C++ implementation available for exposing objects in the Microsoft SQL Server Management Objects (SMO) dynamic link library SQLSMO.DLL?  As far as I can tell, SQLDMO cannot be used to manage instances of SQL Server 2005 and has been superceded by SQLSMO.  Thank you.
0
Comment
Question by:gssdev
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 86

Accepted Solution

by:
jkr earned 250 total points
ID: 20422250
It seems that there is nothing out there so far, see http://www.ftponline.com/vsm/2004_en/magazine/features/rjennings/page3.aspx ("Get Ready for SQL Server 2005"): "You program SMO and DMO operations with VS 2005 by adding .NET references to assemblies. COM wrappers support unmanaged VB, C++, and VBScript SMO programming."
0
 

Author Comment

by:gssdev
ID: 20449438
After some tweaks and turning on disabled options in SQL Server 2005 it so happens that SQLDMO does still function sufficiently to do what I need it to do.  Your response on SMO is what I expected though, I just don't have the time to build COM+ wrappers for those objects at this time.
0

Featured Post

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article we will get to know that how can we recover deleted data if it happens accidently. We really can recover deleted rows if we know the time when data is deleted by using the transaction log.
Slowly Changing Dimension Transformation component in data task flow is very useful for us to manage and control how data changes in SSIS.
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

691 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question