Share via


ScriptAndResultsEditorControl.SetConnection Method (UIConnectionGroupInfo, IDbConnection)

Enables stamp with live connection.

Namespace:  Microsoft.SqlServer.Management.UI.VSIntegration.Editors
Assembly:  SQLEditors (in SQLEditors.dll)

Syntax

'Declaration
Public Overridable Sub SetConnection ( _
    connectionInfoList As UIConnectionGroupInfo, _
    liveConnection As IDbConnection _
)
'Usage
Dim instance As ScriptAndResultsEditorControl 
Dim connectionInfoList As UIConnectionGroupInfo 
Dim liveConnection As IDbConnection

instance.SetConnection(connectionInfoList, _
    liveConnection)
public virtual void SetConnection(
    UIConnectionGroupInfo connectionInfoList,
    IDbConnection liveConnection
)
public:
virtual void SetConnection(
    UIConnectionGroupInfo^ connectionInfoList, 
    IDbConnection^ liveConnection
)
abstract SetConnection : 
        connectionInfoList:UIConnectionGroupInfo * 
        liveConnection:IDbConnection -> unit  
override SetConnection : 
        connectionInfoList:UIConnectionGroupInfo * 
        liveConnection:IDbConnection -> unit
public function SetConnection(
    connectionInfoList : UIConnectionGroupInfo, 
    liveConnection : IDbConnection
)

Parameters

See Also

Reference

ScriptAndResultsEditorControl Class

SetConnection Overload

Microsoft.SqlServer.Management.UI.VSIntegration.Editors Namespace