ITsSbResourcePluginStore::SetTargetPropertyWithVersionCheck method (sbtsv.h)
Sets the value of a property of a target.
Syntax
HRESULT SetTargetPropertyWithVersionCheck(
[in] ITsSbTarget *pTarget,
[in] BSTR PropertyName,
[in] VARIANT *pProperty
);
Parameters
[in] pTarget
A pointer to the target.
[in] PropertyName
The name of the property.
[in] pProperty
A pointer to the value to set.
Return value
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Remarks
When a target or environment object is updated, the version number in the database is automatically updated. This method verifies that the version number of the object it has modified matches the internal version number in the database before attempting to save the updated object to the database.
Requirements
Requirement | Value |
---|---|
Minimum supported client | None supported |
Minimum supported server | Windows Server 2016 |
Target Platform | Windows |
Header | sbtsv.h |