KeyRestrictionBehavior Enumeration

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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 Enumeration 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: