StopSharing
(
ShareName As String
);
Parameters
[in] String ShareName
Relative name of an existing share.
Description
Stops the sharing of the existing shared directory.
Remarks
This method is supported only for directories.
Example
Dim File As Ifile
Set File =
GetObject("NTDS://DomainName/MachineName/file_services/c-drive/documents")
File.StopSharing "MyDocuments"
See Also: