ScriptFactory.CurrentlyActiveWndConnectionInfo Property

Gets the connection information of the currently active frame. If the active frame is not one of the window based windows and doesn't have connection information associated with it, the property returns null.

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

Syntax

'Declaration
Public ReadOnly Property CurrentlyActiveWndConnectionInfo As CurrentlyActiveWndConnectionInfo
    Get
'Usage
Dim instance As ScriptFactory
Dim value As CurrentlyActiveWndConnectionInfo

value = instance.CurrentlyActiveWndConnectionInfo
public CurrentlyActiveWndConnectionInfo CurrentlyActiveWndConnectionInfo { get; }
public:
virtual property CurrentlyActiveWndConnectionInfo^ CurrentlyActiveWndConnectionInfo {
    CurrentlyActiveWndConnectionInfo^ get () sealed;
}
abstract CurrentlyActiveWndConnectionInfo : CurrentlyActiveWndConnectionInfo
override CurrentlyActiveWndConnectionInfo : CurrentlyActiveWndConnectionInfo
final function get CurrentlyActiveWndConnectionInfo () : CurrentlyActiveWndConnectionInfo

Property Value

Type: CurrentlyActiveWndConnectionInfo
A SqlConnectionInfo object.

Implements

IScriptFactoryCurrentlyActiveWndConnectionInfo()