3.2.4.2.24.2 OverwriteOnCommit (put) (Opnum 19)

The OverwriteOnCommit (put) method sets the overwrite-on-commit property of the imported file group.

 [propput, id(FSRM_PROPERTY(FSRM_DISPID_FILEGROUP_IMPORTED | 0x01))] HRESULT OverwriteOnCommit(
   [in] VARIANT_BOOL overwrite
 );

overwrite: Contains the overwrite-on-commit property of the imported file group.

Return Values: The method MUST return zero on success, or a nonzero error code on failure.

Return value/code

Description

0x80070057

E_INVALIDARG

The overwrite parameter is NULL.

The server MUST use overwrite as the File Group.Overwrite on commit property of the imported file group or return a nonzero error code.

The server MUST set overwrite to the value VARIANT_TRUE if the File Group.Overwrite on commit property of the imported file group is true; otherwise, overwrite is set to VARIANT_FALSE.