From: yug k <yug...@ya...> - 2006-08-15 19:27:36
|
Dear Sahananda, Thank you so much for your explanation. <<<<<<<<<<< Sree n Haritha just have a look <<<<<<<<<<<<<< microsoft.public.win32.programmer.wmi: http://www.news2mail.com/microsoft/public/win32/programmer/wmi.html Microsoft's Script Center Script Repository: http://www.microsoft.com/technet/scriptcenter/scripts/language.mspx?mfr=true <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< regards, Yugandhar Kanthi Sahananda <sah...@sa...> wrote: > can anyone help me in knowing what the following statement would mean: > > ivWMIObj = .OLEObject~GetObject("winmgmts:{impersonationLevel=impersonate}") Hi Yug, I'm guessing that this is not the right place to get the answer that you want. >From an ooRexx point of view, in the above statement <.OLEObject> creates a new instance of the OLEObject class, <~GetObject> sends it the GetObject Method with the parameters "winmgmts:{impersonationLevel=impersonate}" and 'places' the result (presumably a WMI object or the nil object) in the Variable ivWMIObj so that you can subsequently interact with it. I'm guessing that your question is about the WMI parameters, in which case, a good group to seek help from might be microsoft.public.win32.programmer.wmi There are also a lot of sample scripts in Microsoft's Script Center Script Repository and although they are headed Sample Object REXX Scripts they work with ooRexx, but then perhaps that is where you found the code you are asking about? http://www.microsoft.com/technet/scriptcenter/scripts/language.mspx?mfr=true of course there may be a wmi expert watching this group & just typing a reply now... hth Jon ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Oorexx-users mailing list Oor...@li... https://lists.sourceforge.net/lists/listinfo/oorexx-users --------------------------------- Want to be your own boss? Learn how on Yahoo! Small Business. |