ScriptAndResultsEditorControl.ShouldTryToReconnectWithCachedCI Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
protected:
virtual bool ShouldTryToReconnectWithCachedCI(Microsoft::SqlServer::Management::Smo::RegSvrEnum::UIConnectionInfo ^ ci);
protected virtual bool ShouldTryToReconnectWithCachedCI (Microsoft.SqlServer.Management.Smo.RegSvrEnum.UIConnectionInfo ci);
abstract member ShouldTryToReconnectWithCachedCI : Microsoft.SqlServer.Management.Smo.RegSvrEnum.UIConnectionInfo -> bool
override this.ShouldTryToReconnectWithCachedCI : Microsoft.SqlServer.Management.Smo.RegSvrEnum.UIConnectionInfo -> bool
Protected Overridable Function ShouldTryToReconnectWithCachedCI (ci As UIConnectionInfo) As Boolean
Parameters
The UIConnectionInfo object for the connection.
Returns
A Boolean value, True
if the reconnection should be automatic; otherwise, False
.