Tibems.GetProperty


Method

Declaration

static object GetProperty( 
   string key ); 

Purpose

Return a property value.

Remarks

If the property is not set, this method returns null.

In .NET, methods exist to get and set the properties. GetProperty provides an alternate way to get property values, which is consistent with the EMS Java API (for easy porting to .NET).

Parameter
Description
key
Return the value associated with this property name.
You may supply any of the constants listed in the table below. The constants are defined as static fields of Tibems. The values of those constants are the actual property names.

(Sheet 1 of 2)

Property Constant
Corresponding Methods
PROP_SOCKET_RECEIVE_SIZE
PROP_SOCKET_SEND_SIZE
PROP_CONNECTION_ATTEMPTS
PROP_RECONNECTION_ATTEMPTS
PROP_CLOSE_IN_CALLBACK
PROP_PING_INTERVAL
PROP_FT_SWITCH
PROP_MESSAGE_ENCODING
PROP_DAEMON_DISPATCHER

See Also

Tibems.SetProperty


TIBCO Enterprise Message Service™ .NET Reference
System Release 4.3, February 2006
Copyright © TIBCO Software Inc. All rights reserved
www.tibco.com