RSType.CreateClosedConnectionObject Method (UIConnectionInfo)
Applies To: SQL Server 2016 Preview
Retrieves a value that creates an object to close the connection.
Namespace: Microsoft.SqlServer.Management.UI.ConnectionDlg
Assembly: ConnectionDlg (in ConnectionDlg.dll)
Syntax
public IDbConnection CreateClosedConnectionObject(
UIConnectionInfo ci
)
public:
virtual IDbConnection^ CreateClosedConnectionObject(
UIConnectionInfo^ ci
) sealed
abstract CreateClosedConnectionObject :
ci:UIConnectionInfo -> IDbConnection
override CreateClosedConnectionObject :
ci:UIConnectionInfo -> IDbConnection
Public Function CreateClosedConnectionObject (
ci As UIConnectionInfo
) As IDbConnection
Parameters
ci
Type: Microsoft.SqlServer.Management.Smo.RegSvrEnum.UIConnectionInfoThe connection information.
Return Value
Type: System.Data.IDbConnection
A value that creates an object that closes the connection.
Implements
IServerTypeConnection.CreateClosedConnectionObject(UIConnectionInfo)
See Also
RSType Class
Microsoft.SqlServer.Management.UI.ConnectionDlg Namespace
Return to top