Retrieves an IRepository interface pointer for the open Microsoft® Repository instance or workspace through which this repository item was instantiated.
HRESULT get_Repository(IRepository **ppIRepository);
Parameters
Return Value
S_OK
The method completed successfully.
This method failed to complete successfully.
Remarks
The returned IRepository interface pointer can refer to either a Repository object or a Workspace object. If it refers to a Workspace object, you are manipulating the item within the context of that workspace. If it refers to a Repository object, you are not manipulating the item within the context of a workspace, but within the context of a shared repository instance.