This method returns an IWorkspace interface pointer of the workspace to which the current object version is checked out.
HRESULT get_CheckedOutToWorkspace(
IWorkspace **ppIWorkspace
);
**ppIWorkspace
[out]
The IWorkspace interface pointer of the workspace.
S_OK
The method completed successfully.
This method failed to complete successfully.
If the object version is not currently checked out to any workspace, this method returns an error.