Share via


SqlScriptEditorControl.ShouldTryToReconnectWithCachedCI Method

Indicates whether to reconnect automatically with the given connection information or display prepopulated connection dialog box.

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

Syntax

'Declaration
Protected Overrides Function ShouldTryToReconnectWithCachedCI ( _
    ci As UIConnectionInfo _
) As Boolean
'Usage
Dim ci As UIConnectionInfo 
Dim returnValue As Boolean 

returnValue = Me.ShouldTryToReconnectWithCachedCI(ci)
protected override bool ShouldTryToReconnectWithCachedCI(
    UIConnectionInfo ci
)
protected:
virtual bool ShouldTryToReconnectWithCachedCI(
    UIConnectionInfo^ ci
) override
abstract ShouldTryToReconnectWithCachedCI : 
        ci:UIConnectionInfo -> bool  
override ShouldTryToReconnectWithCachedCI : 
        ci:UIConnectionInfo -> bool
protected override function ShouldTryToReconnectWithCachedCI(
    ci : UIConnectionInfo
) : boolean

Parameters

Return Value

Type: System.Boolean
True to reconnect automatically with the given connection information. False otherwise.

See Also

Reference

SqlScriptEditorControl Class

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