ConnectionInfoHelper.CreateSqlConnection(SqlConnectionInfo) 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.
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