SqlServerType.IConnectionValidator.CheckConnection(IDbConnection) 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.
Checks if successfully opened connection should be returned to the calling application Throws NotSupportedException exception if it should be bounced with error message as the exception text.
virtual void Microsoft.SqlServer.Management.UI.ConnectionDlg.IConnectionValidator.CheckConnection(System::Data::IDbConnection ^ conn) = Microsoft::SqlServer::Management::UI::ConnectionDlg::IConnectionValidator::CheckConnection;
void IConnectionValidator.CheckConnection(System.Data.IDbConnection conn);
abstract member Microsoft.SqlServer.Management.UI.ConnectionDlg.IConnectionValidator.CheckConnection : System.Data.IDbConnection -> unit
override this.Microsoft.SqlServer.Management.UI.ConnectionDlg.IConnectionValidator.CheckConnection : System.Data.IDbConnection -> unit
Sub CheckConnection (conn As IDbConnection) Implements IConnectionValidator.CheckConnection
Parameters
- conn
- IDbConnection
Opened connection object.