FME Server .NET API

IFMEServerSession.GetProperty Method 

Gets the specified property for the current session.

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

Parameters

propName
the name of the property to get. If null or SESSION_PROP_ISALIVE property name is specified, then this will return "true" if session is alive, otherwise "false" or an FME Server exception will occur. If SESSION_PROP_SERVERBUILDVERSION property name is specified, then this will return the build string of the connected FME Server. If SESSION_PROP_SERVERLOCALE property name is specified, then this will return the locale string of the connected FME Server. If SESSION_PROP_SECURITYLOGINTYPE property name is specified, then this will return the security login type of the connected FME Server.

Return Value

the property value for the session

Exceptions

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

See Also

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