Freigeben über


ConnectionInfoHelper.SetTokenOnConnection Method

Definition

Overloads

SetTokenOnConnection(SqlConnection, String)

Sets the AccessToken property on SqlConnection object

SetTokenOnConnection(SqlConnection, String)

Sets the AccessToken property on SqlConnection object

SetTokenOnConnection(SqlConnection, String)

Sets the AccessToken property on SqlConnection object

public static void SetTokenOnConnection (Microsoft.Data.SqlClient.SqlConnection conn, string accessToken);
static member SetTokenOnConnection : Microsoft.Data.SqlClient.SqlConnection * string -> unit
Public Shared Sub SetTokenOnConnection (conn As SqlConnection, accessToken As String)

Parameters

accessToken
String

Applies to

SetTokenOnConnection(SqlConnection, String)

Sets the AccessToken property on SqlConnection object

public static void SetTokenOnConnection (System.Data.SqlClient.SqlConnection conn, string accessToken);
static member SetTokenOnConnection : System.Data.SqlClient.SqlConnection * string -> unit
Public Shared Sub SetTokenOnConnection (conn As SqlConnection, accessToken As String)

Parameters

accessToken
String

Applies to