I am trying to disable an exchange mailbox from C# code. Is there any way or API to do so by C#. I have tried with Powershell.
.Net version of my project is 4.0 and I was using the System.Management.Automation.dll file that support only.Net version 4.5. Now, I changed the ddl file that supports the.Net 4.0 version and it's working now.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.