IRepository::get_Object

See Also

Retrieves an IRepositoryObject interface pointer to the specified Repository object.

HRESULT get_Object(
VARIANT sObjectId,
IRepositoryObject **ppIReposObj
);

Parameters

sObjectId

[in]
The object identifier of the Repository object to be retrieved.

*ppIReposObj

[out]
The IRepository interface pointer for the Repository object.

Return Value

S_OK

The method completed successfully.

Error

Values

This method failed to complete successfully.

Remarks

The returned IRepository interface pointer refers to a specific version of the Repository object. The Repository uses its Resolution strategy to choose which version.