ISdo::PutProperty method (sdoias.h)

The PutProperty method sets the value of the specified property.

Syntax

HRESULT PutProperty(
  [in] LONG    Id,
  [in] VARIANT *pValue
);

Parameters

[in] Id

Specifies the ID of an existing property.

[in] pValue

Pointer to a VARIANT that contains the value for that property.

Return value

If the method succeeds the return value is S_OK.

If the method fails, the return value is one of the following error codes.

Remarks

After you have set values using ISdo::PutProperty, call ISdo::Apply to write the changes to persistent storage.

The method fails if the property is READ_ONLY or if the value is invalid.

Requirements

Requirement Value
Minimum supported client None supported
Minimum supported server Windows Server 2008
Target Platform Windows
Header sdoias.h
DLL Iassdo.dll

See also

IASCOMMONPROPERTIES

ISdo

ISdo::Apply

VARIANT