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 code | Description |
|---|---|
|
Success |
|
The derivedObjectsResult parameter cannot be NULL. |
|
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 |
|
|
IDL |
|
|
DLL |
|
|
IID |
IID_IFsrmFileScreenTemplate is defined as 205bebf8-dd93-452a-95a6-32b566b35828 |
See also
Send comments about this topic to Microsoft
Build date: 12/6/2012
