VerifyConnectionDelegate Delegate
Represents a delegate that is used to open live connection and thus verify connection info collected by the dialog.
Namespace: Microsoft.SqlServer.Management.UI.ConnectionDlg
Assembly: ConnectionDlg (in ConnectionDlg.dll)
Syntax
'Declaration
Public Delegate Function VerifyConnectionDelegate ( _
ci As UIConnectionInfo, _
serverType As IServerType _
) As IDbConnection
'Usage
Dim instance As New VerifyConnectionDelegate(AddressOf HandlerMethod)
public delegate IDbConnection VerifyConnectionDelegate(
UIConnectionInfo ci,
IServerType serverType
)
public delegate IDbConnection^ VerifyConnectionDelegate(
UIConnectionInfo^ ci,
IServerType^ serverType
)
type VerifyConnectionDelegate =
delegate of
ci:UIConnectionInfo *
serverType:IServerType -> IDbConnection
JScript supports the use of delegates, but not the declaration of new ones.
Parameters
- ci
Type: Microsoft.SqlServer.Management.Smo.RegSvrEnum.UIConnectionInfo
A UIConnectionInfo containing information about the connection.
- serverType
Type: Microsoft.SqlServer.Management.UI.ConnectionDlg.IServerType
An IServerType which describes all major characteristics of the server.
Return Value
Type: System.Data.IDbConnection
An IDbConnection which represents the connection.