SqlConnectionStringBuilderHelper.GetConnectionStringWithAlwaysEncryptedSetting メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
| 名前 | 説明 |
|---|---|
| GetConnectionStringWithAlwaysEncryptedSetting(SqlConnectionStringBuilder, Boolean) |
.NET フレームワークで使用可能な場合は、接続文字列で AlwaysEncrypted 設定を設定し、.NET 4.6 がない場合は更新された 接続文字列 No-op を返します |
| GetConnectionStringWithAlwaysEncryptedSetting(SqlConnectionStringBuilder, Boolean) |
.NET フレームワークで使用可能な場合は、接続文字列で AlwaysEncrypted 設定を設定し、.NET 4.6 がない場合は更新された 接続文字列 No-op を返します |
GetConnectionStringWithAlwaysEncryptedSetting(SqlConnectionStringBuilder, Boolean)
.NET フレームワークで使用可能な場合は、接続文字列で AlwaysEncrypted 設定を設定し、.NET 4.6 がない場合は更新された 接続文字列 No-op を返します
public static string GetConnectionStringWithAlwaysEncryptedSetting(Microsoft.Data.SqlClient.SqlConnectionStringBuilder connectionStringBuilder, bool enableAlwaysEncrypted);
static member GetConnectionStringWithAlwaysEncryptedSetting : Microsoft.Data.SqlClient.SqlConnectionStringBuilder * bool -> string
Public Shared Function GetConnectionStringWithAlwaysEncryptedSetting (connectionStringBuilder As SqlConnectionStringBuilder, enableAlwaysEncrypted As Boolean) As String
パラメーター
- connectionStringBuilder
- SqlConnectionStringBuilder
常に暗号化された設定が指定されている可能性がある接続文字列 ビルダー。
- enableAlwaysEncrypted
- Boolean
常に暗号化された設定を有効にする場合は True、それ以外の場合は False
返品
enableAlwaysEncrypted に基づいて列暗号化設定を有効または無効に設定した接続文字列
適用対象
GetConnectionStringWithAlwaysEncryptedSetting(SqlConnectionStringBuilder, Boolean)
.NET フレームワークで使用可能な場合は、接続文字列で AlwaysEncrypted 設定を設定し、.NET 4.6 がない場合は更新された 接続文字列 No-op を返します
public static string GetConnectionStringWithAlwaysEncryptedSetting(System.Data.SqlClient.SqlConnectionStringBuilder connectionStringBuilder, bool enableAlwaysEncrypted);
static member GetConnectionStringWithAlwaysEncryptedSetting : System.Data.SqlClient.SqlConnectionStringBuilder * bool -> string
Public Shared Function GetConnectionStringWithAlwaysEncryptedSetting (connectionStringBuilder As SqlConnectionStringBuilder, enableAlwaysEncrypted As Boolean) As String
パラメーター
- connectionStringBuilder
- SqlConnectionStringBuilder
常に暗号化された設定が指定されている可能性がある接続文字列 ビルダー。
- enableAlwaysEncrypted
- Boolean
常に暗号化された設定を有効にする場合は True、それ以外の場合は False
返品
enableAlwaysEncrypted に基づいて列暗号化設定を有効または無効に設定した接続文字列