IWorkspaceItem::get_Workspaces

Meta Data Services Programming

Meta Data Services Programming

IWorkspaceItem::get_Workspaces

This method returns the collection of workspaces in which the current object version is present.

HRESULT get_Workspaces(     IVersionCol **ppIWorkspaces
);

Parameters

**ppIWorkspaces

[out]
The IVersionCol interface pointer to the collection of workspaces in which the object version is present.

Return Value

S_OK

The method completed successfully.

Error Values

This method failed to complete successfully.

Remarks

If the current object version is not present in any workspaces, this method returns an empty collection.

See Also

IWorkspaceItem Interface