IIS and SMTP - ow to get IIS IPsecurity information in C++?

This is Interesting: Free IT Magazines  
Home > Archive > IIS and SMTP > May 2006 > ow to get IIS IPsecurity information in C++?





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author ow to get IIS IPsecurity information in C++?
Chris

2006-05-12, 7:15 pm

Hi,

The following VNScript works fine.

Set objDs = GetObject("IIS://ex1/nntpsvc/1")
Set objDsIpSec = objDs.IPsecurity
if ( objDsIpSec.GrantByDefault ) then

I am trying to rewrite it in C++ by getting the same object
ADsGetObject( L"IIS://ex1/nntpsvc/1", IID_IADs, (void **)&pADs );

But "IPsecurity" is neither a property nor a child object of pADs.

Anyone know why? I thought it is the same AD object no matter getting from
VBScript or from C++.

I can get all other properties from the C++ object.



Thanks,

Chris




Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com