简体   繁体   中英

How to close fileshare sessions programmatically

我需要以编程方式关闭Windows Server 2008上打开的文件共享会话。winapi是否提供某些此类功能?

Yes, the NetSessionDel function allows you to close one or more sessions from the server. You can specify the client computer name, username, or both.

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM