Hi,
I am using SSO as a ConfigStore for my applications, and everything seems
to
be working ok. However, when updating a property value, when I only supply
the property that I wish to update in the PropertyBag, other properties'
values get nullified.
I've checked the MSDN doc on ISSOConfigStore.SetConfig and it says:
"If the configuration info does already exist, then if a property is set
to
VT_NULL, it retains its existing value. If it is set to any other new
value
(including VT_EMPTY) it is updated. If it is missing from the property bag
it
is set to VT_EMPTY"
What I understood from this is that I either need to provide the value of
existing properties, or set their values to DBNull.Value for them to keep
their original value (I've tired it and it works), so it looks to me like
this is the only way to update a vaue, is to set everything else as well,
Is
this true? If it is, then Why?!
Thanks,
Mohammad


|