KeyRestrictionBehavior Enumeration

 

Identifies a list of connection string parameters identified by the KeyRestrictions property that are either allowed or not allowed.

Namespace:   System.Data
Assembly:  System.Data (in System.Data.dll)

[SerializableAttribute]
public enum class KeyRestrictionBehavior

Member nameDescription
AllowOnly

Default. Identifies the only additional connection string parameters that are allowed.

PreventUsage

Identifies additional connection string parameters that are not allowed.

.NET Framework
Available since 1.1
Return to top
Show: