Querying SMS Server from C# Code

G

Guest

I am working on a reporting application, and I would like to pull queries
from our SMS Server to grab data that my application will manipulate. How
can I initiate a pre-defined SMS query on our SMS Server and return the
results from that query to my application?

Thanks
 
W

WenYuan Wang

Hi Adam,

We need to perform more research on this issue . We will reply here as soon
as possible.
If you have any more concerns on it, please feel free to post here.

Thanks for your understanding.
Best regards,
Wen Yuan
 
W

WenYuan Wang

Hi, Adam.
Thanks for your waiting.

I think the SMS SDK
(http://www.microsoft.com/downloads/details.aspx?FamilyID=58833CD1-6DBB-45BB
-BB77-163446068EF6&displaylang=en) is the resource you need. It documents
the SMS WMI classes that you can use from scripts and applications. In your
case, you are looking at two possible solutions: a) query WMI from C# using
..NET Framework classes such as ManagementObject; or b) use the managed code
library (Microsoft.SystemsManagementServer.Automation.dll) within the C#
application.

In generally, special to SMS develop issue, we would like to suggest you
may post it in some forums closed to this filed, because to special such
development issue, the people in those groups will be more likely to be
able to help and familiar in such field.
I searched on internet and noticed there are some forums related to this
field.
http://wmug.co.uk/forums/default.aspx
http://www.tek-tips.com/threadminder.cfm?pid=22
http://www.mcse.ms/forumdisplay.php?f=249

Please feel free to let me know if you have any concern and we are glad to
assist you.
Hope this helps.
Sincerely,
Wen Yuan
 
W

WenYuan Wang

Hi Adam,

Just want to check if the issue has been resolved.
Please feel free to let me know if there is anything we can help with.

Have a great day.
Sincerely,
Wen Yuan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top