IConnector::Disconnect method
The Disconnect method disconnects this connector from another connector.
Syntax
HRESULT Disconnect();
Parameters
This method has no parameters.
Return value
If the method succeeds, it returns S_OK. If it fails, possible return codes include, but are not limited to, the values shown in the following table.
| Return code | Description |
|---|---|
|
This connector is already disconnected. |
|
A permanent connection cannot be disconnected. For information about this macro, see the Windows SDK documentation. |
Requirements
|
Minimum supported client |
Windows Vista [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2008 [desktop apps only] |
|
Header |
|
See also