Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Windos
win32.3rdparty
win32.directx.audio
win32.directx.ddk
win32.directx.graphics
win32.directx.input
win32.directx.managed
win32.directx.misc
win32.directx.networking
win32.directx.sdk
win32.directx.video
win32.dirx.grap.shaders
win32.gdi
win32.international
win32.kernel
win32.messaging
win32.mmedia
win32.networks
win32.ole
win32.rtc
win32.tapi
win32.tapi.beta
win32.tools
win32.ui
win32.wince
win32.wmi
windows.mediacenter
winfx.aero
winfx.announcements
winfx.avalon
winfx.collaboration
winfx.fundamentals
winfx.general
winfx.indigo
winfx.sdk
winfx.winfs
  
 
date: Fri, 11 Apr 2008 11:17:02 -0700,    group: microsoft.public.win32.programmer.wmi        back       


Questions about WMI MOF Schemas and versioning   
Hi,
                I have an existing set of WMI data classes based on a MOF 
schema that I have created.  One of the classes needs to have additional 
properties.  It is my understanding that as a best practice, one does not 
change existing WMI classes from a previous version of one’s product.  So 
would the proper thing be to add a WMI object class that derives from the 
original and use that in my code base?  i.e.:
[
Description("Initial class"),
UUID("XXXX -- etc"):ToInstance
]
class InitialClass 
{

[ read, Not_Null, WmiDataId(1),
Description("a property.")
:ToSubClass]
String Property1 ;

};

[
Description("derived class for v2.0 of product"),
UUID("XXXX -- etc"):ToInstance
]
class InitialClass_V2 : InitialClass
{

[ read, Not_Null, WmiDataId(1),
Description("new property that we need.")
:ToSubClass]
String Property2 ;

};


Should this derived class be put in its own namespace?  Do relations that 
refer to the original class need to be updated or subclassed as well?

Thanks,
-dave
date: Fri, 11 Apr 2008 11:17:02 -0700   author:   David Moore am

RE: Questions about WMI MOF Schemas and versioning   
Hi Dave,

I will spend some time on this issue and get back to you ASAP. Thanks.

Best regards,
Jeffrey Tan
Microsoft Online Community Support

Delighting our customers is our #1 priority. We welcome your comments and 
suggestions about how we can improve the support we provide to you. Please 
feel free to let my manager know what you think of the level of service 
provided. You can send feedback directly to my manager at: 
msdnmg@microsoft.com.

==================================================
Get notification to my posts through email? Please refer to 
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues 
where an initial response from the community or a Microsoft Support 
Engineer within 1 business day is acceptable. Please note that each follow 
up response may take approximately 2 business days as the support 
professional working with you may need further investigation to reach the 
most efficient resolution. The offering is not appropriate for situations 
that require urgent, real-time or phone-based interactions or complex 
project analysis and dump analysis issues. Issues of this nature are best 
handled working with a dedicated Microsoft Support Engineer by contacting 
Microsoft Customer Support Services (CSS) at 
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
date: Mon, 14 Apr 2008 09:52:43 GMT   author:   (Jeffrey Tan[MSFT])

RE: Questions about WMI MOF Schemas and versioning   
Hi David,

Sorry for letting you wait. 

Can you send an email to me at: jetan@online.microsoft.com(remove 
"online.")? So that we can discuss this issue offline more efficiently. 
Thanks.

Best regards,
Jeffrey Tan
Microsoft Online Community Support
=========================================
Delighting our customers is our #1 priority. We welcome your comments and 
suggestions about how we can improve the support we provide to you. Please 
feel free to let my manager know what you think of the level of service 
provided. You can send feedback directly to my manager at: 
msdnmg@microsoft.com.

This posting is provided "AS IS" with no warranties, and confers no rights.
date: Wed, 16 Apr 2008 05:44:46 GMT   author:   (Jeffrey Tan[MSFT])

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us