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