Deleting Properties

The System.DirectoryServices.AccountManagement API provides a very simple way to delete properties: simply set the property's value to NULL. It is particularly important to do this when deleting properties that have a String value; setting a property to an empty string is not allowed; to delete a property with a String value, set it to NULL.

See Also




About System.DirectoryServices.AccountManagement

Send comments about this topic to Microsoft.

Copyright © 2008 by Microsoft Corporation. All rights reserved.