ISharingConfigurationManager interface
Exposes methods that set and retrieve information about a computer's default sharing settings for the Users (C:\Users) or Public (C:\Users\Public) folder. Also exposes a set of methods that allow control of printer sharing.
Members
The ISharingConfigurationManager interface inherits from the IUnknown interface. ISharingConfigurationManager also has these types of members:
Methods
The ISharingConfigurationManager interface has these methods.
| Method | Description |
|---|---|
| ArePrintersShared |
Determines whether any printers connected to this computer are shared. |
| CreateShare |
Shares the Users or Public folder. If the folder is already shared, this method updates its sharing status. |
| DeleteShare |
Removes sharing from either the Users or Public folder. |
| GetSharePermissions |
Gets the access permissions currently associated with the User or Public folder for the Everyone ACE. |
| ShareExists |
Queries whether the Users or Public folder is shared. |
| SharePrinters |
Shares all local printers connected to a computer, enabling them to be discovered by other computers on the network. |
| StopSharingPrinters |
Stops sharing all local, shared printers connected to a computer. |
Remarks
When to Implement
An implementation of this interface is included in the CSharingConfiguration class. Third parties do not provide their own implementation.
Requirements
|
Minimum supported client |
Windows Vista [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2008 [desktop apps only] |
|
Header |
|
|
IDL |
|