Hi Jean,
Thanks for posting!
For the current issue, as far as I know, we can use the DirectoryServices
namespace which provided by the .Net framework and the AD schema to do this
job.
All DHCP information is included in the DHCP-Class schema (ADSI). We can
use the DirectorySearcher class to search everything in the ADSI. The
article from MSDN document demonstrates how to searching in the AD as below:
http://msdn.microsoft.com/library/de...us/vbcon/html/
vbtsksearchingactivedirectoryhierarchy.asp
The DHCP-Class schema:
http://msdn.microsoft.com/library/de...us/adschema/ad
schema/c_dhcpclass.asp
In addition, the schema includes whole information about the DHCP server.
We can modify any properties by using it.
I hope the above information will be helpful!
Regards,
Yuan Ren [MSFT]
Microsoft Online Support