語言

SqlConnectionStringBuilderHelper 類別

定義

公開類別支援 DacFx 的 SQL 認證設定

public sealed class SqlConnectionStringBuilderHelper
type SqlConnectionStringBuilderHelper = class
Public NotInheritable Class SqlConnectionStringBuilderHelper
繼承
SqlConnectionStringBuilderHelper

建構函式

名稱 Description
SqlConnectionStringBuilderHelper()

公開類別支援 DacFx 的 SQL 認證設定

方法

名稱 Description
GetAuthenticationString(SqlConnectionStringBuilder)

從 connectionStringBuilder 取得 Authentication 作為字串

GetAuthenticationString(SqlConnectionStringBuilder)

從 connectionStringBuilder 取得 Authentication 作為字串

GetConnectionStringWithAlwaysEncryptedSetting(SqlConnectionStringBuilder, Boolean)

若 .NET 框架中有 連接字串 設定 AlwaysEncrypted,則回傳更新後的 連接字串 No-op 若無 .NET 4.6 則回傳 No-op

GetConnectionStringWithAlwaysEncryptedSetting(SqlConnectionStringBuilder, Boolean)

若 .NET 框架中有 連接字串 設定 AlwaysEncrypted,則回傳更新後的 連接字串 No-op 若無 .NET 4.6 則回傳 No-op

IsAuthenticationSpecified(SqlConnectionStringBuilder)

判斷 連接字串 建構器是否指定了 Authentication 屬性的值。

IsAuthenticationSpecified(SqlConnectionStringBuilder)

判斷 連接字串 建構器是否指定了 Authentication 屬性的值。

IsAuthenticationSupported()

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

SetAuthentication(SqlConnectionStringBuilder, SqlConnectionStringBuilder)

將認證值從來源建構器設定到目標建構器

SetAuthentication(SqlConnectionStringBuilder, SqlConnectionStringBuilder)

將認證值從來源建構器設定到目標建構器

SetAuthentication(SqlConnectionStringBuilder, String)

使用反射的集合認證

SetAuthentication(SqlConnectionStringBuilder, String)

使用反射的集合認證

適用於