ConnectionInfoHelper.GetTokenFromSqlConnection 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
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
- conn
- SqlConnection
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
- conn
- SqlConnection
Returns
Remarks
Will be an empty string if AccessToken is not supported in the current .NET Framework (<4.6)