Share via


ConnectionInfoHelper.CreateSqlConnection(SqlConnectionInfo) Method

Definition

Creates SqlConnection from the SqlConnectionInfo class

public static System.Data.SqlClient.SqlConnection CreateSqlConnection (Microsoft.SqlServer.Management.Common.SqlConnectionInfo connectionInfo);
public static Microsoft.Data.SqlClient.SqlConnection CreateSqlConnection (Microsoft.SqlServer.Management.Common.SqlConnectionInfo connectionInfo);
static member CreateSqlConnection : Microsoft.SqlServer.Management.Common.SqlConnectionInfo -> System.Data.SqlClient.SqlConnection
static member CreateSqlConnection : Microsoft.SqlServer.Management.Common.SqlConnectionInfo -> Microsoft.Data.SqlClient.SqlConnection
Public Shared Function CreateSqlConnection (connectionInfo As SqlConnectionInfo) As SqlConnection

Parameters

connectionInfo
SqlConnectionInfo

Returns

Applies to