Help with _newenum
Posted on 2001-06-07
I am trying to enum the virtual webservers in the iiswebservice object. Basically (for each website in webservice) in VB. I am trying to do this in Delphi 5.
WebSite := CreateOleObject('IISNamespace');
WebSite := WebSite.GetObject('IIsWebService', 'localhost/w3svc');
Enum := website._newenumm as ienumvariant;
I can not get this to work. I was hoping someone here could shed some light.
Thanks in advance.