SqlConnectionStringBuilderHelper.IsAuthenticationSupported 方法

定义

检查运行时环境中是否支持“身份验证”关键字“身份验证”,直到 。Net4.6. 如果用户使用低于 4.6 的 .Net 版本,DacFx 应避免使用“身份验证”

public static bool IsAuthenticationSupported();
static member IsAuthenticationSupported : unit -> bool
Public Shared Function IsAuthenticationSupported () As Boolean

返回

如果当前 .Net 版本中存在“身份验证”,则为 true

适用于