ScriptAndResultsEditorControl.ShouldTryToReconnectWithCachedCI 方法

定義

決定是否要嘗試以該連線資訊自動重新連線,或跳出預先填入的連線對話框,但不會自動嘗試連線。

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

參數

ci
UIConnectionInfo

UIConnectionInfo連結的對象。

傳回

若重連應自動,則為布林值 True ;否則為 False

適用於