This method changes one or more of the item's names.
HRESULT put_Name(BSTR Name);
Parameters
Return Value
S_OK
The method completed successfully.
This method failed to complete successfully.
Remarks
The behavior of this method depends on whether the to-be-named item is an object version, an origin versioned relationship, or a destination versioned relationship. For more information, see:
Note This method can, in some circumstances, try to change several names. For example, if you rename an object version that is the destination of three naming relationships and also implements the INamedObject interface, this method will try to change four names. The method returns success if any of the four attempts succeeds.