IFsrmFileScreenTemplate::CopyTemplate 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.]

Copies the property values of the specified template to this template.

Syntax


HRESULT CopyTemplate(
  [in]  BSTR fileScreenTemplateName
);

Parameters

fileScreenTemplateName [in]

The name of another template from which to copy the property values. The name is limited to 4,000 characters.

Return value

The method returns the following return values.

Return codeDescription
S_OK

Success

FSRM_E_INVALID_NAME

The name is empty.

FSRM_E_OUT_OF_RANGE

The name is too long.

FSRM_E_NOT_FOUND

The specified template was not found.

 

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. All rights reserved.