SqlConnectionStringBuilderHelper.GetConnectionStringWithAlwaysEncryptedSetting Méthode

Définition

Surcharges

Nom Description
GetConnectionStringWithAlwaysEncryptedSetting(SqlConnectionStringBuilder, Boolean)

Définit le paramètre AlwaysEncrypted dans chaîne de connexion s’il est disponible dans l’infrastructure de .NET et retourne le chaîne de connexion non-op mis à jour s’il n’existe pas .NET 4.6

GetConnectionStringWithAlwaysEncryptedSetting(SqlConnectionStringBuilder, Boolean)

Définit le paramètre AlwaysEncrypted dans chaîne de connexion s’il est disponible dans l’infrastructure de .NET et retourne le chaîne de connexion non-op mis à jour s’il n’existe pas .NET 4.6

GetConnectionStringWithAlwaysEncryptedSetting(SqlConnectionStringBuilder, Boolean)

Définit le paramètre AlwaysEncrypted dans chaîne de connexion s’il est disponible dans l’infrastructure de .NET et retourne le chaîne de connexion non-op mis à jour s’il n’existe pas .NET 4.6

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

Paramètres

connectionStringBuilder
SqlConnectionStringBuilder

Générateur chaîne de connexion qui peut avoir toujours chiffré le paramètre spécifié.

enableAlwaysEncrypted
Boolean

True, pour activer le paramètre always encrypted, sinon False

Retours

chaîne de connexion avec le paramètre de chiffrement de colonne défini sur Activé ou Désactivé en fonction d’enableAlwaysEncrypted

S’applique à

GetConnectionStringWithAlwaysEncryptedSetting(SqlConnectionStringBuilder, Boolean)

Définit le paramètre AlwaysEncrypted dans chaîne de connexion s’il est disponible dans l’infrastructure de .NET et retourne le chaîne de connexion non-op mis à jour s’il n’existe pas .NET 4.6

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

Paramètres

connectionStringBuilder
SqlConnectionStringBuilder

Générateur chaîne de connexion qui peut avoir toujours chiffré le paramètre spécifié.

enableAlwaysEncrypted
Boolean

True, pour activer le paramètre always encrypted, sinon False

Retours

chaîne de connexion avec le paramètre de chiffrement de colonne défini sur Activé ou Désactivé en fonction d’enableAlwaysEncrypted

S’applique à