IFsrmFileScreenTemplate::CommitAndUpdateDerived method

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

Saves the file screen template and then applies any changes to the derived file screen objects.

Syntax


HRESULT CommitAndUpdateDerived(
  [in]   FsrmCommitOptions commitOptions,
  [in]   FsrmTemplateApplyOptions applyOptions,
  [out]  IFsrmDerivedObjectsResult **derivedObjectsResult
);

Parameters

commitOptions [in]

The options for saving the template. For possible values, see the FsrmCommitOptions enumeration.

applyOptions [in]

The options used to choose the derived objects to which the changes are applied. For possible values, see the FsrmTemplateApplyOptions enumeration.

derivedObjectsResult [out]

An IFsrmDerivedObjectsResult interface that you use to determine the list of derived objects that were updated and whether the update was successful.

Return value

The method returns the following return values.

Return codeDescription
S_OK

Success

E_INVALIDARG

The derivedObjectsResult parameter cannot be NULL.

E_FSRM_E_NOT_SUPPORTED

The FsrmCommitOptions_Asynchronous option is not supported.

 

Examples

For an example, see Updating a File Screen.

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2008

Header

FsrmScreen.h

IDL

FsrmScreen.idl

DLL

SrmSvc.dll

IID

IID_IFsrmFileScreenTemplate is defined as 205bebf8-dd93-452a-95a6-32b566b35828

See also

IFsrmFileScreenTemplate
MSFT_FSRMFileScreenTemplate

 

 

Show:
© 2014 Microsoft