Is it possible to remove inherit permission on folder by using this namespace. If yes then how ?

please reply i want it urgently
if you have then please mail me the code