Re: [IronPython] Using SetPropertyValue and Put()

2010-04-09 Thread Michael
The type returned from CreateWithNodeType is a 'ManagementBaseObject' which again is a Instance of the newly created OV_ManagedNode. Well nothing really happens as the Put method is not available, and that sort of my problem. Actually yes, critique is very welcome, as this is my only way to know

Re: [IronPython] Using SetPropertyValue and Put()

2010-04-08 Thread Curt Hagenlocher
I don't really know anything about WMI -- what's the type of the object returned from the CreateWithNodeType method? What happens when you call b.Put()? As for the code, are you asking for a critique of the Python style? I hope so, because I'm about to provide one! :) As a long-time Python user, h

[IronPython] Using SetPropertyValue and Put()

2010-04-08 Thread Michael
Hi I'm trying to set some properties on an instance in WMI. I can set the property, but I can't figure out to call the Put() method, so that the properties are stored. As I have only looked at IronPython for a couple of day I would also like if someone can comment on potential issues with the cod