SqlConnectionStringBuilderHelper Class

Definition

Public class to support SQL Authentication configuration for DacFx

C#
public sealed class SqlConnectionStringBuilderHelper
Inheritance
SqlConnectionStringBuilderHelper

Constructors

Methods

GetAuthenticationString(SqlConnectionStringBuilder)

Get Authentication as string from connectionStringBuilder

GetAuthenticationString(SqlConnectionStringBuilder)

Get Authentication as string from connectionStringBuilder

GetConnectionStringWithAlwaysEncryptedSetting(SqlConnectionStringBuilder, Boolean)

Sets AlwaysEncrypted setting in connection string if it is available in the .NET framework and returns the updated connection string No-op if there is not .NET 4.6

GetConnectionStringWithAlwaysEncryptedSetting(SqlConnectionStringBuilder, Boolean)

Sets AlwaysEncrypted setting in connection string if it is available in the .NET framework and returns the updated connection string No-op if there is not .NET 4.6

IsAuthenticationSpecified(SqlConnectionStringBuilder)

Determines whether a connection string builder has a value specified for the Authentication property.

IsAuthenticationSpecified(SqlConnectionStringBuilder)

Determines whether a connection string builder has a value specified for the Authentication property.

IsAuthenticationSupported()

Checks whether "Authentication" is supported in the runtime environment The keyword "Authentication" is not supported until .Net4.6. If user uses a version of .Net less than 4.6, DacFx should avoid using "Authentication"

SetAuthentication(SqlConnectionStringBuilder, SqlConnectionStringBuilder)

Set Authentication value from source builder to the target builder

SetAuthentication(SqlConnectionStringBuilder, SqlConnectionStringBuilder)

Set Authentication value from source builder to the target builder

SetAuthentication(SqlConnectionStringBuilder, String)

Set Authentication using reflection

SetAuthentication(SqlConnectionStringBuilder, String)

Set Authentication using reflection

Applies to

Produit Versions
Microsoft.SQLServer.DacFx 140.3881.1, 150.18208.0, 160.2004021.0, 161.6374.0, 162.2.111