IFsrmFileScreen::ApplyTemplate method (fsrmscreen.h)
[This method is supported for compatibility but it's recommended to use the FSRM WMI Classes to manage FSRM. Please see the MSFT_FSRMFileScreen class.]
Applies the property values of the specified file screen template to this file screen object.
Syntax
HRESULT ApplyTemplate(
[in] BSTR fileScreenTemplateName
);
Parameters
[in] fileScreenTemplateName
The name of the file screen template. The string is limited to 4,000 characters.
Return value
The method returns the following return values.
Remarks
To save the changes, call the IFsrmFileScreen::Commit method.
The specified template must be a committed template; you cannot apply a newly created template that has not been committed.
Examples
For an example, see Defining a File Screen.
Requirements
Requirement | Value |
---|---|
Minimum supported client | None supported |
Minimum supported server | Windows Server 2008 |
Target Platform | Windows |
Header | fsrmscreen.h |
DLL | SrmSvc.dll |