IWorkspaceItem::get_Workspaces

See Also

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.