Engine.GetOpenedConnectionAsync(ISqlObjectLocator) 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.
protected internal virtual System.Threading.Tasks.Task<System.Data.SqlClient.SqlConnection> GetOpenedConnectionAsync (Microsoft.SqlServer.Management.Assessment.ISqlObjectLocator target);
protected internal virtual System.Threading.Tasks.Task<System.Data.Common.DbConnection> GetOpenedConnectionAsync (Microsoft.SqlServer.Management.Assessment.ISqlObjectLocator target);
abstract member GetOpenedConnectionAsync : Microsoft.SqlServer.Management.Assessment.ISqlObjectLocator -> System.Threading.Tasks.Task<System.Data.SqlClient.SqlConnection>
override this.GetOpenedConnectionAsync : Microsoft.SqlServer.Management.Assessment.ISqlObjectLocator -> System.Threading.Tasks.Task<System.Data.SqlClient.SqlConnection>
abstract member GetOpenedConnectionAsync : Microsoft.SqlServer.Management.Assessment.ISqlObjectLocator -> System.Threading.Tasks.Task<System.Data.Common.DbConnection>
override this.GetOpenedConnectionAsync : Microsoft.SqlServer.Management.Assessment.ISqlObjectLocator -> System.Threading.Tasks.Task<System.Data.Common.DbConnection>
Protected Friend Overridable Function GetOpenedConnectionAsync (target As ISqlObjectLocator) As Task(Of SqlConnection)
Protected Friend Overridable Function GetOpenedConnectionAsync (target As ISqlObjectLocator) As Task(Of DbConnection)
Parameters
- target
- ISqlObjectLocator