title: .Net code to set an Active Directory attribute to "not set"
body: <p>In the Active Direcotry mmc snap-in you cant see attributes that are "Not Set". When you use ADSIEDIT.MSC tool, if attribute values are null you do see them as "Not Set".</p>
  
  <p><strong>How can I set an attribute to "Not Set" in .Net code?</strong></p>
  
  <p>Here is the answer in Powershell but I need to do it with some .Net code (VB.Net/C#).
  <a href="http://social.technet.microsoft.com/Forums/en-US/winserverpowershell/thread/d6d0bfa1-73da-41ea-a7f5-f622de9f7d1b/" rel="nofollow">http://social.technet.microsoft.com/Forums/en-US/winserverpowershell/thread/d6d0bfa1-73da-41ea-a7f5-f622de9f7d1b/</a></p>
  
  <p>ps msExchHideAddressLists is the culprit attribute, when its True or False in this domain it prevents user information replicating from AD to Sharepoint. </p>