Compartir a través de


SqlConnectionStringBuilderHelper.SetAuthentication Method

Definition

Overloads

SetAuthentication(SqlConnectionStringBuilder, SqlConnectionStringBuilder)

Set Authentication value from source builder to the target builder

SetAuthentication(SqlConnectionStringBuilder, String)

Set Authentication using reflection

SetAuthentication(SqlConnectionStringBuilder, SqlConnectionStringBuilder)

Set Authentication value from source builder to the target builder

SetAuthentication(SqlConnectionStringBuilder, String)

Set Authentication using reflection

SetAuthentication(SqlConnectionStringBuilder, SqlConnectionStringBuilder)

Set Authentication value from source builder to the target builder

public static void SetAuthentication (Microsoft.Data.SqlClient.SqlConnectionStringBuilder sourceBuilder, Microsoft.Data.SqlClient.SqlConnectionStringBuilder targetBuilder);
static member SetAuthentication : Microsoft.Data.SqlClient.SqlConnectionStringBuilder * Microsoft.Data.SqlClient.SqlConnectionStringBuilder -> unit
Public Shared Sub SetAuthentication (sourceBuilder As SqlConnectionStringBuilder, targetBuilder As SqlConnectionStringBuilder)

Parameters

sourceBuilder
SqlConnectionStringBuilder

the source connection string builder

targetBuilder
SqlConnectionStringBuilder

the target connection string builder

Applies to

SetAuthentication(SqlConnectionStringBuilder, String)

Set Authentication using reflection

public static void SetAuthentication (Microsoft.Data.SqlClient.SqlConnectionStringBuilder sbConnectionString, string authenticationType);
static member SetAuthentication : Microsoft.Data.SqlClient.SqlConnectionStringBuilder * string -> unit
Public Shared Sub SetAuthentication (sbConnectionString As SqlConnectionStringBuilder, authenticationType As String)

Parameters

sbConnectionString
SqlConnectionStringBuilder
authenticationType
String

Applies to

SetAuthentication(SqlConnectionStringBuilder, SqlConnectionStringBuilder)

Set Authentication value from source builder to the target builder

public static void SetAuthentication (System.Data.SqlClient.SqlConnectionStringBuilder sourceBuilder, System.Data.SqlClient.SqlConnectionStringBuilder targetBuilder);
static member SetAuthentication : System.Data.SqlClient.SqlConnectionStringBuilder * System.Data.SqlClient.SqlConnectionStringBuilder -> unit
Public Shared Sub SetAuthentication (sourceBuilder As SqlConnectionStringBuilder, targetBuilder As SqlConnectionStringBuilder)

Parameters

sourceBuilder
SqlConnectionStringBuilder

the source connection string builder

targetBuilder
SqlConnectionStringBuilder

the target connection string builder

Applies to

SetAuthentication(SqlConnectionStringBuilder, String)

Set Authentication using reflection

public static void SetAuthentication (System.Data.SqlClient.SqlConnectionStringBuilder sbConnectionString, string authenticationType);
static member SetAuthentication : System.Data.SqlClient.SqlConnectionStringBuilder * string -> unit
Public Shared Sub SetAuthentication (sbConnectionString As SqlConnectionStringBuilder, authenticationType As String)

Parameters

sbConnectionString
SqlConnectionStringBuilder
authenticationType
String

Applies to