ConnectionInfoHelper.SetTokenOnConnection Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- conn
- SqlConnection
- 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
- conn
- SqlConnection
- accessToken
- String