Supporting ValueMap via System.Management.Instrumentation

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Does anyone know how I can use System.Management.Instrumentation to instrument a C# class which ha
a) an enumeration property I want to expose as a WMI ValueMa
b) subclasses from an existing CIM_ class in the \root\CIMV2 namespace

thanks
 
Hi,

Thanks for your post. I am checking this issue and will update you with my
information.

Have a nice day!

Regards,

HuangTM
Microsoft Online Partner Support
MCSE/MCSD

Get Secure! -- www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
 
Hello,

I'd like to share the following information with you:

a) System.Management.Instrumentation currently doesn't support creation of
WMI qualifiers. You can see a list of current limitations on MSDN at
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/htm
l/cpconsystemmanagementandsystemmanagementinstrumentationnamespaces.asp.

b) Please take a look at InstrumentationClassAttribute class. In one of the
constructors for this class, you can specify an existing WMI base class
name from which you want your instrumented class to inherit.

BTW, in the future, it would be best to post WMI questions in the following
newsgroup:
microsoft.public.win32.programmer.wmi

Hope this helps.

Regards,

HuangTM
Microsoft Online Partner Support
MCSE/MCSD

Get Secure! -- www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
 
Hi,

I would like to follow up on this issue and see if any progress has been
made. I haven't heard from you in 2 days, were you able to check my reply?
Should you have any questions, please feel free to post here.
Looking forward to your reply!

Regards,

HuangTM
Microsoft Online Partner Support
MCSE/MCSD

Get Secure! -- www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
 
Back
Top