ScriptAndResultsEditorControl.ShouldTryToReconnectWithCachedCI Method

Definition

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

ci
UIConnectionInfo

The UIConnectionInfo object for the connection.

Returns

A Boolean value, True if the reconnection should be automatic; otherwise, False.

Applies to