KeyRestrictionBehavior KeyRestrictionBehavior KeyRestrictionBehavior KeyRestrictionBehavior Enum

定义

标识由 KeyRestrictions 属性标识的连接字符串参数的列表,这些参数或者是被允许的,或者是不被允许的。Identifies a list of connection string parameters identified by the KeyRestrictions property that are either allowed or not allowed.

public enum class KeyRestrictionBehavior
[System.Serializable]
public enum KeyRestrictionBehavior
type KeyRestrictionBehavior = 
Public Enum KeyRestrictionBehavior
继承
KeyRestrictionBehaviorKeyRestrictionBehaviorKeyRestrictionBehaviorKeyRestrictionBehavior
属性

字段

AllowOnly AllowOnly AllowOnly AllowOnly 0

默认。Default. 标识唯一允许的其他连接字符串参数。Identifies the only additional connection string parameters that are allowed.

PreventUsage PreventUsage PreventUsage PreventUsage 1

标识不允许的其他连接字符串参数。Identifies additional connection string parameters that are not allowed.

适用于