Collapse All Expand All

.NET Framework Class Library
LdapLookupContext Class See Also

[TIBCO.EMS .NET client library 5.1 documentation]

Add or change a lookup context setting.

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

# Syntax

    public Object AddSettings(
    	string propName,
    	Object propValue
    )

    Public Function AddSettings ( _
    	propName As String, _
    	propValue As Object _
    ) As Object

    public:
    virtual Object^ AddSettings(
    	String^ propName,
    	Object^ propValue
    ) sealed

#### Parameters

propName
  Type: System..::.String
  Set this single property. See LDAP_BASE_DN for property names.

propValue
  Type: System..::.Object
  Set the single property to this value.

#### Implements

ILookupContext..::.AddSettings(String, Object)

# Remarks

This method sets one lookup context property. If the property was previously set, this method modifies it and returns the old value.

Examples:LDAP_SERVER_URL LDAP_BASE_DN

# Exceptions

Exception | Condition
--- | ---
System..::.ArgumentException | If either property name or value are null.

# See Also

LdapLookupContext Class
AddSettings Overload
TIBCO.EMS Namespace