The IMSAdminBase::SetData method sets a data item. If data with that identifier does not already exist, this method creates and inserts a data item into the list of data items of that type. If data with that identifier already exists, this method sets the new data value. Duplicate data identifiers are not valid even if the entries are of different user types or data types.
Returns an HRESULT that contains one of the following values:
Access is denied. Either the open handle does not have read or write permission as needed, or the user does not have sufficient permissions to perform the operation.
The parameter is incorrect.
The specified path is not found.
The method succeeded.
Cannot set data to be not secure when a secure value exists.