Your goal could be interpreted many different ways. Can you tell us how you would do this in the system management tools first?
Assuming you just want to do "normal" things to the directory, such as protecting it from certain users, then
DirectoryInfo.SetAccessControl may be what you are seeking.
Microsoft is conducting an online survey to understand your opinion of the Msdn Web site. If you choose to participate, the online survey will be presented to you when you leave the Msdn Web site.