IFsrmFileGroupImported::OverwriteOnCommit property

[This property is supported for compatibility but it's recommended to use the FSRM WMI Classes to manage FSRM. Please see the MSFT_FSRMFileGroup class.]

Retrieves or sets a value that determines whether a file group is overwritten if it exists.

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 group 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 is NULL.

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2008

Header

FsrmScreen.h

DLL

SrmSvc.dll

IID

IID_IFsrmFileGroupImported is defined as ad55f10b-5f11-4be7-94ef-d9ee2e470ded

See also

IFsrmFileGroupImported
MSFT_FSRMFileGroup

 

 

Show:
© 2014 Microsoft