Windows Dev Center

IFsrmFileScreenTemplateImported::OverwriteOnCommit property

Retrieves or sets a value that determines whether a file screen template is overwritten if it exists when the template is imported.

This property is read/write.

Syntax


HRESULT put_OverwriteOnCommit(
  [in]  VARIANT_BOOL overwrite
);

HRESULT get_OverwriteOnCommit(
  [out] VARIANT_BOOL *overwrite
);

Property value

Set to VARIANT_TRUE to overwrite a file screen template if it exists; otherwise, set to VARIANT_FALSE. The default is VARIANT_FALSE.

Error codes

The method returns the following return values.

NameMeaning
S_OK

Success.

E_INVALIDARG

The overwrite parameter cannot be NULL.

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2008

Header

FsrmScreen.h

DLL

SrmSvc.dll

IID

IID_IFsrmFileScreenTemplateImported is defined as e1010359-3e5d-4ecd-9fe4-ef48622fdf30

See also

IFsrmFileScreenTemplateImported

 

 

Show:
© 2015 Microsoft