DisableConnectionStringAllowedProperties

This method disables connection configuration restriction.

Declaration

// C#
public static void DisableConnectionStringAllowedProperties()

Exceptions

None.

Remarks

When invoked, any prior list of allowed parameters is discarded. Connections are no longer subject to configuration restrictions.

Connection configuration restriction can be enabled again by calling an EnableConnectionStringAllowedProperties method. Calling this method does not impact existing connection pools until ClearPool() or ClearAllPools() is called.