### YamlMime:ManagedReference items: - uid: Microsoft.SqlTools.ServiceLayer.Connection.ConnectionService.OnDisconnectHandler commentId: T:Microsoft.SqlTools.ServiceLayer.Connection.ConnectionService.OnDisconnectHandler id: ConnectionService.OnDisconnectHandler parent: Microsoft.SqlTools.ServiceLayer.Connection children: [] langs: - csharp - vb name: ConnectionService.OnDisconnectHandler nameWithType: ConnectionService.OnDisconnectHandler fullName: Microsoft.SqlTools.ServiceLayer.Connection.ConnectionService.OnDisconnectHandler type: Delegate source: remote: path: src/Microsoft.SqlTools.ServiceLayer/Connection/ConnectionService.cs branch: master repo: https://kburtram:67c6623fc506400046096af249535f684d9ea40b@github.com/Microsoft/sqltoolsservice.git id: OnDisconnectHandler path: ../src/Microsoft.SqlTools.ServiceLayer/Connection/ConnectionService.cs startLine: 96 assemblies: - Microsoft.SqlTools.ServiceLayer namespace: Microsoft.SqlTools.ServiceLayer.Connection syntax: content: public delegate Task OnDisconnectHandler(ConnectionSummary summary, string ownerUri); content.vb: Public Delegate Function OnDisconnectHandler(summary As ConnectionSummary, ownerUri As String) As Task parameters: - id: summary type: Microsoft.SqlTools.ServiceLayer.Connection.Contracts.ConnectionSummary - id: ownerUri type: System.String return: type: System.Threading.Tasks.Task modifiers.csharp: - public - delegate modifiers.vb: - Public - Delegate references: - uid: Microsoft.SqlTools.ServiceLayer.Connection commentId: N:Microsoft.SqlTools.ServiceLayer.Connection isExternal: false name: Microsoft.SqlTools.ServiceLayer.Connection nameWithType: Microsoft.SqlTools.ServiceLayer.Connection fullName: Microsoft.SqlTools.ServiceLayer.Connection - uid: Microsoft.SqlTools.ServiceLayer.Connection.Contracts.ConnectionSummary commentId: T:Microsoft.SqlTools.ServiceLayer.Connection.Contracts.ConnectionSummary parent: Microsoft.SqlTools.ServiceLayer.Connection.Contracts isExternal: false name: ConnectionSummary nameWithType: ConnectionSummary fullName: Microsoft.SqlTools.ServiceLayer.Connection.Contracts.ConnectionSummary - uid: System.String commentId: T:System.String parent: System isExternal: true name: String nameWithType: String fullName: System.String - uid: System.Threading.Tasks.Task commentId: T:System.Threading.Tasks.Task parent: System.Threading.Tasks isExternal: true name: Task nameWithType: Task fullName: System.Threading.Tasks.Task - uid: Microsoft.SqlTools.ServiceLayer.Connection.Contracts commentId: N:Microsoft.SqlTools.ServiceLayer.Connection.Contracts isExternal: false name: Microsoft.SqlTools.ServiceLayer.Connection.Contracts nameWithType: Microsoft.SqlTools.ServiceLayer.Connection.Contracts fullName: Microsoft.SqlTools.ServiceLayer.Connection.Contracts - uid: System commentId: N:System isExternal: false name: System nameWithType: System fullName: System - uid: System.Threading.Tasks commentId: N:System.Threading.Tasks isExternal: false name: System.Threading.Tasks nameWithType: System.Threading.Tasks fullName: System.Threading.Tasks