語言

SqlConnectionStringBuilderHelper.IsAuthenticationSupported 方法

定義

檢查執行環境中是否支援「認證」,關鍵字「認證」直到 才被支援。Net4.6。 若使用者使用的 .Net 版本低於 4.6,DacFx 應避免使用「認證」功能

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

傳回

若 .Net 版本中存在「Authentication」,則為 true。

適用於