Share via


ScriptAndResultsEditorControl.Connection Property

Returns parameters in the case where script editor has a current connection.

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

Syntax

'Declaration
Public Overridable ReadOnly Property Connection As UIConnectionInfo 
    Get
'Usage
Dim instance As ScriptAndResultsEditorControl 
Dim value As UIConnectionInfo 

value = instance.Connection
public virtual UIConnectionInfo Connection { get; }
public:
virtual property UIConnectionInfo^ Connection {
    UIConnectionInfo^ get ();
}
abstract Connection : UIConnectionInfo 
override Connection : UIConnectionInfo
function get Connection () : UIConnectionInfo

Property Value

Type: Microsoft.SqlServer.Management.Smo.RegSvrEnum.UIConnectionInfo
The UIConnectionInfo object for the connection.

Implements

ISqlToolsWindowWithConnectionState.Connection

See Also

Reference

ScriptAndResultsEditorControl Class

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