dotNoted

Icon

Observations of .Net development in the wild

Talking about Mapping ADSI Interfaces to the Network Management Functions

http://msdn.microsoft.com/library/en-us/netmgmt/netmgmt/mapping_adsi_interfaces_to_the_network_management_functions.asp?frame=true

Why is it that we have such a proliferation of network functions? LanManager is ancient history, by most accounts, yet we must still deal with the functions which are rooted in it.

Take enumeration of SQL Servers. There really isn’t a good way to do it in .Net. We can’t really rely on people to have published their SQL Servers in Active Directory (we could more easily if it was default on install, but it is an obscure setting). The best way is to wrap these old API functions with P/Invoke. Perhaps we’ll see this change in SQL 2005… anyone know?

Filed under: Administration

Leave a comment