Share via


IPersistSerializedPropStorage2::SetFlags Method

Sets the read/write or read-only state of the property storage.

Syntax

HRESULT SetFlags(      
    PERSIST_SPROPSTORE_FLAGS flags
);

Parameters

  • flags
    [in] One of the following values.

    • 0
      The property storage is read/write.

    • FPSPS_READONLY
      The property storage is read-only.

Return Value

Returns S_OK if successful, or an error value otherwise.