ConnectionInfoHelper.GetTokenFromSqlConnection Method

Definition

Overloads

GetTokenFromSqlConnection(SqlConnection)

Get AccessToken from SqlConnection

GetTokenFromSqlConnection(SqlConnection)

Get AccessToken from SqlConnection

GetTokenFromSqlConnection(SqlConnection)

Get AccessToken from SqlConnection

public static string GetTokenFromSqlConnection (Microsoft.Data.SqlClient.SqlConnection conn);
static member GetTokenFromSqlConnection : Microsoft.Data.SqlClient.SqlConnection -> string
Public Shared Function GetTokenFromSqlConnection (conn As SqlConnection) As String

Parameters

Returns

Remarks

Will be an empty string if AccessToken is not supported in the current .NET Framework (<4.6)

Applies to

GetTokenFromSqlConnection(SqlConnection)

Get AccessToken from SqlConnection

public static string GetTokenFromSqlConnection (System.Data.SqlClient.SqlConnection conn);
static member GetTokenFromSqlConnection : System.Data.SqlClient.SqlConnection -> string
Public Shared Function GetTokenFromSqlConnection (conn As SqlConnection) As String

Parameters

Returns

Remarks

Will be an empty string if AccessToken is not supported in the current .NET Framework (<4.6)

Applies to