FME Server .NET API

IFMETransformationResult.GetDateProperty Method 

Gets a date value from the FME Engine or FME Server response. Properties defined in the FME Engine response will shadow any properties by the same name in the FME Server response. For example, if both the FME Server and FME Engine response define a property called "currentTime", then getBooleanProperty("currentTime") will return the corresponding value from the FME Engine response, not the FME Server response. If a property is defined multiple times in the FME Engine response, the last value in the response string will be used. The following date properties should be present in the FME Server response: timeRequested timeStarted timeFinished The following boolean properties are included in the default SUCCESS_RESPONSE and FAILURE_RESPONSE directives that ship with the FME Server: (none)

[Visual Basic]
Function GetDateProperty( _
   ByVal propName As String _
) As Date
[C#]
DateTime GetDateProperty(
   string propName
);

Parameters

propName
the key to look up in the FME Engine or FME Server response

Return Value

a boxed Date representation of the requested key's value

See Also

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