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.