IFsrmFileScreen::ApplyTemplate method

[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(
  BSTR fileScreenTemplateName
);

Parameters

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

   
Windows version None supported Windows Server 2008
Target Platform Windows
Header fsrmscreen.h
DLL SrmSvc.dll

See Also

IFsrmFileScreen

MSFT_FSRMFileScreen