[TIBCO.EMS .NET client library 6.3 documentation]
Assembly: TIBCO.EMS (in TIBCO.EMS.dll)
Add setting to the lookup context by passing a property/value pair
Namespace:
TIBCO.EMSAssembly: TIBCO.EMS (in TIBCO.EMS.dll)
Syntax
Object AddSettings( string propName, Object propValue ) |
Function AddSettings ( _ propName As String, _ propValue As Object _ ) As Object |
Object^ AddSettings( String^ propName, Object^ propValue ) |
Parameters
- propName
- Type: System..::.String
The name of the property to be set. For property names, see the LookupContext Fields.
- propValue
- Type: System..::.Object
The value to set for this property.
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 directly:
Examples
![]() | |
---|---|
Hashtable table = new Hashtable(); LookupContextFactory contextFactory = new LookupContextFactory(); ILookupContext searcher = contextFactory.CreateContext("ldap", table); searcher.AddSettings(LdapLookupConsts.LDAP_SERVER_URL, "adc1.na.tibco.com:10389"); |