ScriptAndResultsEditorControl.ShouldTryToReconnectWithCachedCI Method
Determines whether to try to reconnect automatically with the given connection information or to popup a pre-populated connection dialog box without automatically trying to connect.
Namespace: Microsoft.SqlServer.Management.UI.VSIntegration.Editors
Assembly: SQLEditors (in SQLEditors.dll)
Syntax
'Declaration
Protected Overridable Function ShouldTryToReconnectWithCachedCI ( _
ci As UIConnectionInfo _
) As Boolean
'Usage
Dim ci As UIConnectionInfo
Dim returnValue As Boolean
returnValue = Me.ShouldTryToReconnectWithCachedCI(ci)
protected virtual bool ShouldTryToReconnectWithCachedCI(
UIConnectionInfo ci
)
protected:
virtual bool ShouldTryToReconnectWithCachedCI(
UIConnectionInfo^ ci
)
abstract ShouldTryToReconnectWithCachedCI :
ci:UIConnectionInfo -> bool
override ShouldTryToReconnectWithCachedCI :
ci:UIConnectionInfo -> bool
protected function ShouldTryToReconnectWithCachedCI(
ci : UIConnectionInfo
) : boolean
Parameters
- ci
Type: Microsoft.SqlServer.Management.Smo.RegSvrEnum.UIConnectionInfo
The UIConnectionInfo object for the connection.
Return Value
Type: System.Boolean
A Boolean value, True if the reconnection should be automatic; otherwise, False.
See Also
Reference
ScriptAndResultsEditorControl Class
Microsoft.SqlServer.Management.UI.VSIntegration.Editors Namespace