 |
NetShareDel ..msdn Add comment W32 Constants Translate this page |
 |
 |
|
Deletes a share name from a server"s list of shared resources, disconnecting all connections to the shared resource. |
 |
 |
| Code examples: |
 |
|
|
 |
 |
| Declaration: |
 |
 |
NET_API_STATUS NetShareDel(
LMSTR servername,
LMSTR netname,
DWORD reserved
);
|
 |
 |
 |
| FoxPro declaration: |
 |
 |
DECLARE INTEGER NetShareDel IN netapi32;
STRING servername,;
STRING netname,;
LONG reserved
|
 |
 |
 |
| Parameters: |
 |
servername
[in] Pointer to a string that specifies the DNS or NetBIOS name of the remote server on which the function is to execute.
netname
[in] Pointer to a string that specifies the name of the share to delete.
reserved
Reserved, must be zero. |
 |
 |
| Return value: |
 |
| If the function succeeds, the return value is NERR_Success (0). |
 |
 |
| My comment: |
 |
| If the servername parameter is NULL, the local computer is used. |
 |
 |
| Word Index links for the NetShareDel : |
 |
|
|
 |
 |
| Translate this page: |
 |
|
 |
 |
| • |
 |
| Created: | 2005-12-02 12:41:35 | | Modified: | 2005-12-02 12:44:16 | Visited in last 7 days: 19 |