FME Server .NET API

IFMERepository.GetTemplate Method 

Gets the specified template view.

[Visual Basic]
Function GetTemplate( _
   ByVal templateName As String _
) As Safe.FMEServer.API.IFMETemplate
[C#]
IFMETemplate GetTemplate(
   string templateName
);

Parameters

templateName
the unique name of the custom format item. For example, "foo.fmwt"

Return Value

the specified template view. If no template view found for specified template name, then null is returned.

Exceptions

Exception TypeCondition
Safe.FMEServer.API.FMEServerExceptionif a FME Server exception occurred

See Also

IFMERepository Interface | IFMERepository Members | Safe.FMEServer.API Namespace