Share via


SqlConnectionStringBuilderHelper Class

Definition

Public class to support SQL Authentication configuration for DacFx

public sealed class SqlConnectionStringBuilderHelper
type SqlConnectionStringBuilderHelper = class
Public NotInheritable Class SqlConnectionStringBuilderHelper
Inheritance
SqlConnectionStringBuilderHelper

Constructors

SqlConnectionStringBuilderHelper()

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