IRepositoryObjectVersion::get_ResolutionType

Meta Data Services Programming

Meta Data Services Programming

IRepositoryObjectVersion::get_ResolutionType

This method returns an indication of the resolution technique by which the repository engine chose to give you a reference to the current version (rather than a reference to any other version of the same object).

HRESULT get_ResolutionType(     LONG *pResolutionType
);

Parameters

*pResolutionType

[out]
One of four possible values. The following table lists the values.

Constant Value Description
SPECIFIEDVERSION 1 Indicates that a specific object version was selected
LATESTVERSION 2 Indicates that the most recently created object version was selected
VERSIONINWORKSPACE 3 Indicates that the version in the workspace was selected
PINNEDVERSION 4 Indicates that a pinned object version was selected

Return Value

S_OK

The method completed successfully.

Error Values

This method failed to complete successfully.

Remarks

The repository engine automatically sets the value of the ResolutionType property whenever you retrieve an object version.

See Also

IRepositoryObjectVersion Interface