[TIBCO.EMS .NET client library 5.1 documentation]

Add setting to the lookup context by passing a hash table

Namespace:  TIBCO.EMS
Assembly:  TIBCO.EMS (in TIBCO.EMS.dll)

Syntax

void AddSettings(
	Hashtable prop
)
Sub AddSettings ( _
	prop As Hashtable _
)
void AddSettings(
	Hashtable^ prop
)

Parameters

prop
Type: System.Collections..::.Hashtable
The hash table that contains all of the name-value pairs to be set.

Remarks

Setting added to the lookup context are mainly LDAP or TIBCO EMS Naming Server related parameters used for looking up objects stored in an LDAP server or TIBCO EMS Server. Examples of setting names include LDAP_SERVER_URL or LDAP_BASE_DN.

Examples of setting names include LDAP_SERVER_URL or LDAP_BASE_DN.

To add settings contained in a hash table:

Examples

 Copy Code
                Hashtable table = new Hashtable();
                 LookupContextFactory contextFactory = new LookupContextFactory();
                 ILookupContext searcher = contextFactory.CreateContext("ldap", table);    
                searcher.AddSettings(table);
            

See Also