Important The XStudio native C nano-COM APIs have been deprecated in favor of the KStudio native C nano-COM APIs.
Disconnects from the Xbox Studio service on the target console.
public:
HRESULT Disconnect()
Type: HRESULTÂ
S_OK if successful; an error code otherwise.
Applications running on the console should not, and need not, call Disconnect. Doing so returns E_XSTUDIO_INVALID_OPERATION.
Call Disconnect only from an application running on the development computer, in order to disconnect from the target console.
Header: Declared in xstudio.h.
Library: Use xstudioclient.lib (console) or xstudioservice.lib (desktop).