[TIBCO.EMS .NET client library 6.0 documentation]

Remove a lookup context setting by name

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

Syntax

Object RemoveSettings(
	string propName
)
Function RemoveSettings ( _
	propName As String _
) As Object
Object^ RemoveSettings(
	String^ propName
)

Parameters

propName
Type: System..::.String

Examples

To add and then remove the LDAP_SERVER_URL property from the lookup context:
 Copy Code
                Hashtable table = new Hashtable();
                table.Add(LdapLookupConsts.LDAP_SERVER_URL, "adc1.na.tibco.com:10389");
                 LookupContextFactory contextFactory = new LookupContextFactory();
                 ILookupContext searcher = contextFactory.CreateContext("ldap", table);    
                searcher.RemoveSettings(LdapLookupConsts.LDAP_SERVER_URL);
                
            

See Also