win32net.NetShareDel

NetShareDel(server, shareName, reserved)

Deletes a share

Parameters

server : string/PyUnicode

The name of the server, or None.

shareName : string/PyUnicode

The share name

reserved=0 : int

Must be zero.

Win32 API References

Search for NetShareDel at msdn, google or google groups.