ScriptAndResultsEditorControl.ShouldTryToReconnectWithCachedCI Metode

Definisi

Menentukan apakah akan mencoba menyambungkan kembali secara otomatis dengan informasi koneksi yang diberikan atau memunculkan kotak dialog koneksi yang telah diisi sebelumnya tanpa mencoba menyambungkan secara otomatis.

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

Parameter

ci
UIConnectionInfo

Objek UIConnectionInfo untuk koneksi.

Mengembalikan

Nilai Boolean, True jika koneksi ulang harus otomatis; jika tidak, False.

Berlaku untuk