3.16.4.3 IUpdateSession::ReadOnly (Opnum 10)

The IUpdateSession::ReadOnly (opnum 10) method returns whether the session is read-only.

 HRESULT ReadOnly(
   [out, retval] VARIANT_BOOL* retval
 );

retval: MUST be VARIANT_TRUE if the session is read-only, or VARIANT_FALSE if not. See [MS-OAUT] section 2.2.27 for information on these two values.

Return Values: The method MUST return information in an HRESULT data structure. The severity bit in the structure identifies the following conditions:

  • If the severity bit is set to 0, the method completed successfully.

  • If the severity bit is set to 1, the method failed and encountered a fatal error.

Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying RPC protocol [MS-RPCE].

This method SHOULD return the value of the ReadOnly ADM element.