Add docs template

This commit is contained in:
Karl Burtram
2016-12-15 17:06:28 -08:00
275 changed files with 10751 additions and 19075 deletions

View File

@@ -10,43 +10,45 @@
<meta name="viewport" content="width=device-width">
<meta name="title" content="Class ConnectionService
">
<meta name="generator" content="docfx 1.0.0.0">
<link rel="shortcut icon" href="../favicon.ico">
<link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">
<link rel="stylesheet" href="../styles/docfx.vendor.css">
<link rel="stylesheet" href="../styles/docfx.css">
<link rel="stylesheet" href="../styles/main.css">
<link rel="stylesheet" href="../styles/docfx.css">
<link rel="stylesheet" href="../styles/style.css">
<meta property="docfx:navrel" content="../toc.html">
<meta property="docfx:tocrel" content="toc.html">
</head>
<body data-spy="scroll" data-target="#affix">
<!--
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-63735192-1', 'auto');
ga('send', 'pageview');
</script>
-->
</head> <body data-spy="scroll" data-target="#affix">
<div id="wrapper">
<header>
<nav id="autocollapse" class="navbar navbar-inverse ng-scope" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="../index.html">
<img id="logo" class="svg" src="../logo.svg" alt="">
</a>
</div>
<div class="collapse navbar-collapse" id="navbar">
<form class="navbar-form navbar-right" role="search" id="search">
<div class="form-group">
<input type="text" class="form-control" id="search-query" placeholder="Search" autocomplete="off">
</div>
</form>
</div>
</div>
</nav>
<nav class="navbar navbar-inverse">
<div class="container">
<a href="../"><img height="50px" src="../images/sqlserver.png" style="float:right;"></a>
<div class="navbar-header ">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="../"><span class="dotnet">SQL Tools Service</span></a>
</div>
<div id="navbar" class="collapse navbar-collapse">
</div><!--/.nav-collapse -->
</div>
</nav>
<div class="subnav navbar navbar-default">
<div class="container hide-when-search" id="breadcrumb">
@@ -68,7 +70,8 @@
<div class="col-md-10">
<article class="content wrap" id="_content">
<a href="https://github.com/Microsoft/sqltoolsservice/new/master/docs/apispec/new?filename=Microsoft_SqlTools_ServiceLayer_Connection_ConnectionService.md&amp;value=---%0Auid%3A%20Microsoft.SqlTools.ServiceLayer.Connection.ConnectionService%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A" class="pull-right mobile-hide"><span class="fa fa-github"></span>Improve this Doc</a>
<a href="https://github.com/Microsoft/sqltoolsservice/blob/master/src/Microsoft.SqlTools.ServiceLayer/Connection/ConnectionService.cs/#L28" class="pull-right mobile-hide">View Source</a>
<h1 id="Microsoft_SqlTools_ServiceLayer_Connection_ConnectionService" data-uid="Microsoft.SqlTools.ServiceLayer.Connection.ConnectionService">Class ConnectionService
</h1>
<div class="markdown level0 summary"><p>Main class for the Connection Management services</p>
@@ -79,30 +82,6 @@
<div class="level0"><span class="xref">System.Object</span></div>
<div class="level1"><span class="xref">ConnectionService</span></div>
</div>
<div class="inheritedMembers">
<h5>Inherited Members</h5>
<div>
<span class="xref">System.Object.Equals(System.Object)</span>
</div>
<div>
<span class="xref">System.Object.Equals(System.Object, System.Object)</span>
</div>
<div>
<span class="xref">System.Object.GetHashCode()</span>
</div>
<div>
<span class="xref">System.Object.GetType()</span>
</div>
<div>
<span class="xref">System.Object.MemberwiseClone()</span>
</div>
<div>
<span class="xref">System.Object.ReferenceEquals(System.Object, System.Object)</span>
</div>
<div>
<span class="xref">System.Object.ToString()</span>
</div>
</div>
<h6><strong>Namespace</strong>:Microsoft.SqlTools.ServiceLayer.Connection</h6>
<h6><strong>Assembly</strong>:Microsoft.SqlTools.ServiceLayer.dll</h6>
<h5 id="Microsoft_SqlTools_ServiceLayer_Connection_ConnectionService_syntax">Syntax</h5>
@@ -118,7 +97,6 @@
<span class="small pull-right mobile-hide">
<a href="https://github.com/Microsoft/sqltoolsservice/blob/master/src/Microsoft.SqlTools.ServiceLayer/Connection/ConnectionService.cs/#L84">View Source</a>
</span>
<a id="Microsoft_SqlTools_ServiceLayer_Connection_ConnectionService__ctor_" data-uid="Microsoft.SqlTools.ServiceLayer.Connection.ConnectionService.#ctor*"></a>
<h4 id="Microsoft_SqlTools_ServiceLayer_Connection_ConnectionService__ctor" data-uid="Microsoft.SqlTools.ServiceLayer.Connection.ConnectionService.#ctor">ConnectionService()</h4>
<div class="markdown level1 summary"><p>Default constructor should be private since it&#39;s a singleton class, but we need a constructor
for use in unit test mocking.</p>
@@ -135,7 +113,6 @@ for use in unit test mocking.</p>
<span class="small pull-right mobile-hide">
<a href="https://github.com/Microsoft/sqltoolsservice/blob/master/src/Microsoft.SqlTools.ServiceLayer/Connection/ConnectionService.cs/#L128">View Source</a>
</span>
<a id="Microsoft_SqlTools_ServiceLayer_Connection_ConnectionService__ctor_" data-uid="Microsoft.SqlTools.ServiceLayer.Connection.ConnectionService.#ctor*"></a>
<h4 id="Microsoft_SqlTools_ServiceLayer_Connection_ConnectionService__ctor_Microsoft_SqlTools_ServiceLayer_Connection_ISqlConnectionFactory_" data-uid="Microsoft.SqlTools.ServiceLayer.Connection.ConnectionService.#ctor(Microsoft.SqlTools.ServiceLayer.Connection.ISqlConnectionFactory)">ConnectionService(ISqlConnectionFactory)</h4>
<div class="markdown level1 summary"><p>Test constructor that injects dependency interfaces</p>
</div>
@@ -156,7 +133,7 @@ for use in unit test mocking.</p>
<tbody>
<tr>
<td><a class="xref" href="Microsoft.SqlTools.ServiceLayer.Connection.ISqlConnectionFactory.html">ISqlConnectionFactory</a></td>
<td><span class="parametername">testFactory</span></td>
<td><em>testFactory</em></td>
<td></td>
</tr>
</tbody>
@@ -170,7 +147,6 @@ for use in unit test mocking.</p>
<span class="small pull-right mobile-hide">
<a href="https://github.com/Microsoft/sqltoolsservice/blob/master/src/Microsoft.SqlTools.ServiceLayer/Connection/ConnectionService.cs/#L112">View Source</a>
</span>
<a id="Microsoft_SqlTools_ServiceLayer_Connection_ConnectionService_ConnectionFactory_" data-uid="Microsoft.SqlTools.ServiceLayer.Connection.ConnectionService.ConnectionFactory*"></a>
<h4 id="Microsoft_SqlTools_ServiceLayer_Connection_ConnectionService_ConnectionFactory" data-uid="Microsoft.SqlTools.ServiceLayer.Connection.ConnectionService.ConnectionFactory">ConnectionFactory</h4>
<div class="markdown level1 summary"><p>Gets the SQL connection factory instance</p>
</div>
@@ -179,7 +155,7 @@ for use in unit test mocking.</p>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public ISqlConnectionFactory ConnectionFactory { get; }</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<h5 class="propertyValue"></h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
@@ -201,7 +177,6 @@ for use in unit test mocking.</p>
<span class="small pull-right mobile-hide">
<a href="https://github.com/Microsoft/sqltoolsservice/blob/master/src/Microsoft.SqlTools.ServiceLayer/Connection/ConnectionService.cs/#L39">View Source</a>
</span>
<a id="Microsoft_SqlTools_ServiceLayer_Connection_ConnectionService_Instance_" data-uid="Microsoft.SqlTools.ServiceLayer.Connection.ConnectionService.Instance*"></a>
<h4 id="Microsoft_SqlTools_ServiceLayer_Connection_ConnectionService_Instance" data-uid="Microsoft.SqlTools.ServiceLayer.Connection.ConnectionService.Instance">Instance</h4>
<div class="markdown level1 summary"><p>Gets the singleton service instance</p>
</div>
@@ -210,7 +185,7 @@ for use in unit test mocking.</p>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static ConnectionService Instance { get; }</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<h5 class="propertyValue"></h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
@@ -234,7 +209,6 @@ for use in unit test mocking.</p>
<span class="small pull-right mobile-hide">
<a href="https://github.com/Microsoft/sqltoolsservice/blob/master/src/Microsoft.SqlTools.ServiceLayer/Connection/ConnectionService.cs/#L605">View Source</a>
</span>
<a id="Microsoft_SqlTools_ServiceLayer_Connection_ConnectionService_BuildConnectionString_" data-uid="Microsoft.SqlTools.ServiceLayer.Connection.ConnectionService.BuildConnectionString*"></a>
<h4 id="Microsoft_SqlTools_ServiceLayer_Connection_ConnectionService_BuildConnectionString_Microsoft_SqlTools_ServiceLayer_Connection_Contracts_ConnectionDetails_" data-uid="Microsoft.SqlTools.ServiceLayer.Connection.ConnectionService.BuildConnectionString(Microsoft.SqlTools.ServiceLayer.Connection.Contracts.ConnectionDetails)">BuildConnectionString(ConnectionDetails)</h4>
<div class="markdown level1 summary"><p>Build a connection string from a connection details instance</p>
</div>
@@ -255,7 +229,7 @@ for use in unit test mocking.</p>
<tbody>
<tr>
<td><a class="xref" href="Microsoft.SqlTools.ServiceLayer.Connection.Contracts.ConnectionDetails.html">ConnectionDetails</a></td>
<td><span class="parametername">connectionDetails</span></td>
<td><em>connectionDetails</em></td>
<td></td>
</tr>
</tbody>
@@ -282,7 +256,6 @@ for use in unit test mocking.</p>
<span class="small pull-right mobile-hide">
<a href="https://github.com/Microsoft/sqltoolsservice/blob/master/src/Microsoft.SqlTools.ServiceLayer/Connection/ConnectionService.cs/#L309">View Source</a>
</span>
<a id="Microsoft_SqlTools_ServiceLayer_Connection_ConnectionService_CancelConnect_" data-uid="Microsoft.SqlTools.ServiceLayer.Connection.ConnectionService.CancelConnect*"></a>
<h4 id="Microsoft_SqlTools_ServiceLayer_Connection_ConnectionService_CancelConnect_Microsoft_SqlTools_ServiceLayer_Connection_Contracts_CancelConnectParams_" data-uid="Microsoft.SqlTools.ServiceLayer.Connection.ConnectionService.CancelConnect(Microsoft.SqlTools.ServiceLayer.Connection.Contracts.CancelConnectParams)">CancelConnect(CancelConnectParams)</h4>
<div class="markdown level1 summary"><p>Cancel a connection that is in the process of opening.</p>
</div>
@@ -303,7 +276,7 @@ for use in unit test mocking.</p>
<tbody>
<tr>
<td><a class="xref" href="Microsoft.SqlTools.ServiceLayer.Connection.Contracts.CancelConnectParams.html">CancelConnectParams</a></td>
<td><span class="parametername">cancelParams</span></td>
<td><em>cancelParams</em></td>
<td></td>
</tr>
</tbody>
@@ -330,7 +303,6 @@ for use in unit test mocking.</p>
<span class="small pull-right mobile-hide">
<a href="https://github.com/Microsoft/sqltoolsservice/blob/master/src/Microsoft.SqlTools.ServiceLayer/Connection/ConnectionService.cs/#L737">View Source</a>
</span>
<a id="Microsoft_SqlTools_ServiceLayer_Connection_ConnectionService_ChangeConnectionDatabaseContext_" data-uid="Microsoft.SqlTools.ServiceLayer.Connection.ConnectionService.ChangeConnectionDatabaseContext*"></a>
<h4 id="Microsoft_SqlTools_ServiceLayer_Connection_ConnectionService_ChangeConnectionDatabaseContext_System_String_System_String_" data-uid="Microsoft.SqlTools.ServiceLayer.Connection.ConnectionService.ChangeConnectionDatabaseContext(System.String,System.String)">ChangeConnectionDatabaseContext(String, String)</h4>
<div class="markdown level1 summary"><p>Change the database context of a connection.</p>
</div>
@@ -351,13 +323,13 @@ for use in unit test mocking.</p>
<tbody>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">ownerUri</span></td>
<td><em>ownerUri</em></td>
<td><p>URI of the owner of the connection</p>
</td>
</tr>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">newDatabaseName</span></td>
<td><em>newDatabaseName</em></td>
<td><p>Name of the database to change the connection to</p>
</td>
</tr>
@@ -370,7 +342,6 @@ for use in unit test mocking.</p>
<span class="small pull-right mobile-hide">
<a href="https://github.com/Microsoft/sqltoolsservice/blob/master/src/Microsoft.SqlTools.ServiceLayer/Connection/ConnectionService.cs/#L143">View Source</a>
</span>
<a id="Microsoft_SqlTools_ServiceLayer_Connection_ConnectionService_Connect_" data-uid="Microsoft.SqlTools.ServiceLayer.Connection.ConnectionService.Connect*"></a>
<h4 id="Microsoft_SqlTools_ServiceLayer_Connection_ConnectionService_Connect_Microsoft_SqlTools_ServiceLayer_Connection_Contracts_ConnectParams_" data-uid="Microsoft.SqlTools.ServiceLayer.Connection.ConnectionService.Connect(Microsoft.SqlTools.ServiceLayer.Connection.Contracts.ConnectParams)">Connect(ConnectParams)</h4>
<div class="markdown level1 summary"><p>Open a connection with the specified connection details</p>
</div>
@@ -391,7 +362,7 @@ for use in unit test mocking.</p>
<tbody>
<tr>
<td><a class="xref" href="Microsoft.SqlTools.ServiceLayer.Connection.Contracts.ConnectParams.html">ConnectParams</a></td>
<td><span class="parametername">connectionParams</span></td>
<td><em>connectionParams</em></td>
<td></td>
</tr>
</tbody>
@@ -418,7 +389,6 @@ for use in unit test mocking.</p>
<span class="small pull-right mobile-hide">
<a href="https://github.com/Microsoft/sqltoolsservice/blob/master/src/Microsoft.SqlTools.ServiceLayer/Connection/ConnectionService.cs/#L340">View Source</a>
</span>
<a id="Microsoft_SqlTools_ServiceLayer_Connection_ConnectionService_Disconnect_" data-uid="Microsoft.SqlTools.ServiceLayer.Connection.ConnectionService.Disconnect*"></a>
<h4 id="Microsoft_SqlTools_ServiceLayer_Connection_ConnectionService_Disconnect_Microsoft_SqlTools_ServiceLayer_Connection_Contracts_DisconnectParams_" data-uid="Microsoft.SqlTools.ServiceLayer.Connection.ConnectionService.Disconnect(Microsoft.SqlTools.ServiceLayer.Connection.Contracts.DisconnectParams)">Disconnect(DisconnectParams)</h4>
<div class="markdown level1 summary"><p>Close a connection with the specified connection details.</p>
</div>
@@ -439,7 +409,7 @@ for use in unit test mocking.</p>
<tbody>
<tr>
<td><a class="xref" href="Microsoft.SqlTools.ServiceLayer.Connection.Contracts.DisconnectParams.html">DisconnectParams</a></td>
<td><span class="parametername">disconnectParams</span></td>
<td><em>disconnectParams</em></td>
<td></td>
</tr>
</tbody>
@@ -466,7 +436,6 @@ for use in unit test mocking.</p>
<span class="small pull-right mobile-hide">
<a href="https://github.com/Microsoft/sqltoolsservice/blob/master/src/Microsoft.SqlTools.ServiceLayer/Connection/ConnectionService.cs/#L535">View Source</a>
</span>
<a id="Microsoft_SqlTools_ServiceLayer_Connection_ConnectionService_HandleCancelConnectRequest_" data-uid="Microsoft.SqlTools.ServiceLayer.Connection.ConnectionService.HandleCancelConnectRequest*"></a>
<h4 id="Microsoft_SqlTools_ServiceLayer_Connection_ConnectionService_HandleCancelConnectRequest_Microsoft_SqlTools_ServiceLayer_Connection_Contracts_CancelConnectParams_Microsoft_SqlTools_ServiceLayer_Hosting_Protocol_RequestContext_System_Boolean__" data-uid="Microsoft.SqlTools.ServiceLayer.Connection.ConnectionService.HandleCancelConnectRequest(Microsoft.SqlTools.ServiceLayer.Connection.Contracts.CancelConnectParams,Microsoft.SqlTools.ServiceLayer.Hosting.Protocol.RequestContext{System.Boolean})">HandleCancelConnectRequest(CancelConnectParams, RequestContext&lt;Boolean&gt;)</h4>
<div class="markdown level1 summary"><p>Handle cancel connect requests</p>
</div>
@@ -487,12 +456,12 @@ for use in unit test mocking.</p>
<tbody>
<tr>
<td><a class="xref" href="Microsoft.SqlTools.ServiceLayer.Connection.Contracts.CancelConnectParams.html">CancelConnectParams</a></td>
<td><span class="parametername">cancelParams</span></td>
<td><em>cancelParams</em></td>
<td></td>
</tr>
<tr>
<td><a class="xref" href="Microsoft.SqlTools.ServiceLayer.Hosting.Protocol.RequestContext-1.html">RequestContext</a>&lt;<span class="xref">System.Boolean</span>&gt;</td>
<td><span class="parametername">requestContext</span></td>
<td><em>requestContext</em></td>
<td></td>
</tr>
</tbody>
@@ -519,7 +488,6 @@ for use in unit test mocking.</p>
<span class="small pull-right mobile-hide">
<a href="https://github.com/Microsoft/sqltoolsservice/blob/master/src/Microsoft.SqlTools.ServiceLayer/Connection/ConnectionService.cs/#L493">View Source</a>
</span>
<a id="Microsoft_SqlTools_ServiceLayer_Connection_ConnectionService_HandleConnectRequest_" data-uid="Microsoft.SqlTools.ServiceLayer.Connection.ConnectionService.HandleConnectRequest*"></a>
<h4 id="Microsoft_SqlTools_ServiceLayer_Connection_ConnectionService_HandleConnectRequest_Microsoft_SqlTools_ServiceLayer_Connection_Contracts_ConnectParams_Microsoft_SqlTools_ServiceLayer_Hosting_Protocol_RequestContext_System_Boolean__" data-uid="Microsoft.SqlTools.ServiceLayer.Connection.ConnectionService.HandleConnectRequest(Microsoft.SqlTools.ServiceLayer.Connection.Contracts.ConnectParams,Microsoft.SqlTools.ServiceLayer.Hosting.Protocol.RequestContext{System.Boolean})">HandleConnectRequest(ConnectParams, RequestContext&lt;Boolean&gt;)</h4>
<div class="markdown level1 summary"><p>Handle new connection requests</p>
</div>
@@ -540,12 +508,12 @@ for use in unit test mocking.</p>
<tbody>
<tr>
<td><a class="xref" href="Microsoft.SqlTools.ServiceLayer.Connection.Contracts.ConnectParams.html">ConnectParams</a></td>
<td><span class="parametername">connectParams</span></td>
<td><em>connectParams</em></td>
<td></td>
</tr>
<tr>
<td><a class="xref" href="Microsoft.SqlTools.ServiceLayer.Hosting.Protocol.RequestContext-1.html">RequestContext</a>&lt;<span class="xref">System.Boolean</span>&gt;</td>
<td><span class="parametername">requestContext</span></td>
<td><em>requestContext</em></td>
<td></td>
</tr>
</tbody>
@@ -572,7 +540,6 @@ for use in unit test mocking.</p>
<span class="small pull-right mobile-hide">
<a href="https://github.com/Microsoft/sqltoolsservice/blob/master/src/Microsoft.SqlTools.ServiceLayer/Connection/ConnectionService.cs/#L593">View Source</a>
</span>
<a id="Microsoft_SqlTools_ServiceLayer_Connection_ConnectionService_HandleDidChangeConfigurationNotification_" data-uid="Microsoft.SqlTools.ServiceLayer.Connection.ConnectionService.HandleDidChangeConfigurationNotification*"></a>
<h4 id="Microsoft_SqlTools_ServiceLayer_Connection_ConnectionService_HandleDidChangeConfigurationNotification_Microsoft_SqlTools_ServiceLayer_SqlContext_SqlToolsSettings_Microsoft_SqlTools_ServiceLayer_SqlContext_SqlToolsSettings_Microsoft_SqlTools_ServiceLayer_Hosting_Protocol_EventContext_" data-uid="Microsoft.SqlTools.ServiceLayer.Connection.ConnectionService.HandleDidChangeConfigurationNotification(Microsoft.SqlTools.ServiceLayer.SqlContext.SqlToolsSettings,Microsoft.SqlTools.ServiceLayer.SqlContext.SqlToolsSettings,Microsoft.SqlTools.ServiceLayer.Hosting.Protocol.EventContext)">HandleDidChangeConfigurationNotification(SqlToolsSettings, SqlToolsSettings, EventContext)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
@@ -592,17 +559,17 @@ for use in unit test mocking.</p>
<tbody>
<tr>
<td><a class="xref" href="Microsoft.SqlTools.ServiceLayer.SqlContext.SqlToolsSettings.html">SqlToolsSettings</a></td>
<td><span class="parametername">newSettings</span></td>
<td><em>newSettings</em></td>
<td></td>
</tr>
<tr>
<td><a class="xref" href="Microsoft.SqlTools.ServiceLayer.SqlContext.SqlToolsSettings.html">SqlToolsSettings</a></td>
<td><span class="parametername">oldSettings</span></td>
<td><em>oldSettings</em></td>
<td></td>
</tr>
<tr>
<td><a class="xref" href="Microsoft.SqlTools.ServiceLayer.Hosting.Protocol.EventContext.html">EventContext</a></td>
<td><span class="parametername">eventContext</span></td>
<td><em>eventContext</em></td>
<td></td>
</tr>
</tbody>
@@ -629,7 +596,6 @@ for use in unit test mocking.</p>
<span class="small pull-right mobile-hide">
<a href="https://github.com/Microsoft/sqltoolsservice/blob/master/src/Microsoft.SqlTools.ServiceLayer/Connection/ConnectionService.cs/#L555">View Source</a>
</span>
<a id="Microsoft_SqlTools_ServiceLayer_Connection_ConnectionService_HandleDisconnectRequest_" data-uid="Microsoft.SqlTools.ServiceLayer.Connection.ConnectionService.HandleDisconnectRequest*"></a>
<h4 id="Microsoft_SqlTools_ServiceLayer_Connection_ConnectionService_HandleDisconnectRequest_Microsoft_SqlTools_ServiceLayer_Connection_Contracts_DisconnectParams_Microsoft_SqlTools_ServiceLayer_Hosting_Protocol_RequestContext_System_Boolean__" data-uid="Microsoft.SqlTools.ServiceLayer.Connection.ConnectionService.HandleDisconnectRequest(Microsoft.SqlTools.ServiceLayer.Connection.Contracts.DisconnectParams,Microsoft.SqlTools.ServiceLayer.Hosting.Protocol.RequestContext{System.Boolean})">HandleDisconnectRequest(DisconnectParams, RequestContext&lt;Boolean&gt;)</h4>
<div class="markdown level1 summary"><p>Handle disconnect requests</p>
</div>
@@ -650,12 +616,12 @@ for use in unit test mocking.</p>
<tbody>
<tr>
<td><a class="xref" href="Microsoft.SqlTools.ServiceLayer.Connection.Contracts.DisconnectParams.html">DisconnectParams</a></td>
<td><span class="parametername">disconnectParams</span></td>
<td><em>disconnectParams</em></td>
<td></td>
</tr>
<tr>
<td><a class="xref" href="Microsoft.SqlTools.ServiceLayer.Hosting.Protocol.RequestContext-1.html">RequestContext</a>&lt;<span class="xref">System.Boolean</span>&gt;</td>
<td><span class="parametername">requestContext</span></td>
<td><em>requestContext</em></td>
<td></td>
</tr>
</tbody>
@@ -682,7 +648,6 @@ for use in unit test mocking.</p>
<span class="small pull-right mobile-hide">
<a href="https://github.com/Microsoft/sqltoolsservice/blob/master/src/Microsoft.SqlTools.ServiceLayer/Connection/ConnectionService.cs/#L576">View Source</a>
</span>
<a id="Microsoft_SqlTools_ServiceLayer_Connection_ConnectionService_HandleListDatabasesRequest_" data-uid="Microsoft.SqlTools.ServiceLayer.Connection.ConnectionService.HandleListDatabasesRequest*"></a>
<h4 id="Microsoft_SqlTools_ServiceLayer_Connection_ConnectionService_HandleListDatabasesRequest_Microsoft_SqlTools_ServiceLayer_Connection_Contracts_ListDatabasesParams_Microsoft_SqlTools_ServiceLayer_Hosting_Protocol_RequestContext_Microsoft_SqlTools_ServiceLayer_Connection_Contracts_ListDatabasesResponse__" data-uid="Microsoft.SqlTools.ServiceLayer.Connection.ConnectionService.HandleListDatabasesRequest(Microsoft.SqlTools.ServiceLayer.Connection.Contracts.ListDatabasesParams,Microsoft.SqlTools.ServiceLayer.Hosting.Protocol.RequestContext{Microsoft.SqlTools.ServiceLayer.Connection.Contracts.ListDatabasesResponse})">HandleListDatabasesRequest(ListDatabasesParams, RequestContext&lt;ListDatabasesResponse&gt;)</h4>
<div class="markdown level1 summary"><p>Handle requests to list databases on the current server</p>
</div>
@@ -703,12 +668,12 @@ for use in unit test mocking.</p>
<tbody>
<tr>
<td><a class="xref" href="Microsoft.SqlTools.ServiceLayer.Connection.Contracts.ListDatabasesParams.html">ListDatabasesParams</a></td>
<td><span class="parametername">listDatabasesParams</span></td>
<td><em>listDatabasesParams</em></td>
<td></td>
</tr>
<tr>
<td><a class="xref" href="Microsoft.SqlTools.ServiceLayer.Hosting.Protocol.RequestContext-1.html">RequestContext</a>&lt;<a class="xref" href="Microsoft.SqlTools.ServiceLayer.Connection.Contracts.ListDatabasesResponse.html">ListDatabasesResponse</a>&gt;</td>
<td><span class="parametername">requestContext</span></td>
<td><em>requestContext</em></td>
<td></td>
</tr>
</tbody>
@@ -735,7 +700,6 @@ for use in unit test mocking.</p>
<span class="small pull-right mobile-hide">
<a href="https://github.com/Microsoft/sqltoolsservice/blob/master/src/Microsoft.SqlTools.ServiceLayer/Connection/ConnectionService.cs/#L456">View Source</a>
</span>
<a id="Microsoft_SqlTools_ServiceLayer_Connection_ConnectionService_InitializeService_" data-uid="Microsoft.SqlTools.ServiceLayer.Connection.ConnectionService.InitializeService*"></a>
<h4 id="Microsoft_SqlTools_ServiceLayer_Connection_ConnectionService_InitializeService_Microsoft_SqlTools_ServiceLayer_Hosting_Protocol_IProtocolEndpoint_" data-uid="Microsoft.SqlTools.ServiceLayer.Connection.ConnectionService.InitializeService(Microsoft.SqlTools.ServiceLayer.Hosting.Protocol.IProtocolEndpoint)">InitializeService(IProtocolEndpoint)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
@@ -755,7 +719,7 @@ for use in unit test mocking.</p>
<tbody>
<tr>
<td><a class="xref" href="Microsoft.SqlTools.ServiceLayer.Hosting.Protocol.IProtocolEndpoint.html">IProtocolEndpoint</a></td>
<td><span class="parametername">serviceHost</span></td>
<td><em>serviceHost</em></td>
<td></td>
</tr>
</tbody>
@@ -767,7 +731,6 @@ for use in unit test mocking.</p>
<span class="small pull-right mobile-hide">
<a href="https://github.com/Microsoft/sqltoolsservice/blob/master/src/Microsoft.SqlTools.ServiceLayer/Connection/ConnectionService.cs/#L404">View Source</a>
</span>
<a id="Microsoft_SqlTools_ServiceLayer_Connection_ConnectionService_ListDatabases_" data-uid="Microsoft.SqlTools.ServiceLayer.Connection.ConnectionService.ListDatabases*"></a>
<h4 id="Microsoft_SqlTools_ServiceLayer_Connection_ConnectionService_ListDatabases_Microsoft_SqlTools_ServiceLayer_Connection_Contracts_ListDatabasesParams_" data-uid="Microsoft.SqlTools.ServiceLayer.Connection.ConnectionService.ListDatabases(Microsoft.SqlTools.ServiceLayer.Connection.Contracts.ListDatabasesParams)">ListDatabases(ListDatabasesParams)</h4>
<div class="markdown level1 summary"><p>List all databases on the server specified</p>
</div>
@@ -788,7 +751,7 @@ for use in unit test mocking.</p>
<tbody>
<tr>
<td><a class="xref" href="Microsoft.SqlTools.ServiceLayer.Connection.Contracts.ListDatabasesParams.html">ListDatabasesParams</a></td>
<td><span class="parametername">listDatabasesParams</span></td>
<td><em>listDatabasesParams</em></td>
<td></td>
</tr>
</tbody>
@@ -815,7 +778,6 @@ for use in unit test mocking.</p>
<span class="small pull-right mobile-hide">
<a href="https://github.com/Microsoft/sqltoolsservice/blob/master/src/Microsoft.SqlTools.ServiceLayer/Connection/ConnectionService.cs/#L474">View Source</a>
</span>
<a id="Microsoft_SqlTools_ServiceLayer_Connection_ConnectionService_RegisterOnConnectionTask_" data-uid="Microsoft.SqlTools.ServiceLayer.Connection.ConnectionService.RegisterOnConnectionTask*"></a>
<h4 id="Microsoft_SqlTools_ServiceLayer_Connection_ConnectionService_RegisterOnConnectionTask_Microsoft_SqlTools_ServiceLayer_Connection_ConnectionService_OnConnectionHandler_" data-uid="Microsoft.SqlTools.ServiceLayer.Connection.ConnectionService.RegisterOnConnectionTask(Microsoft.SqlTools.ServiceLayer.Connection.ConnectionService.OnConnectionHandler)">RegisterOnConnectionTask(ConnectionService.OnConnectionHandler)</h4>
<div class="markdown level1 summary"><p>Add a new method to be called when the onconnection request is submitted </p>
</div>
@@ -836,7 +798,7 @@ for use in unit test mocking.</p>
<tbody>
<tr>
<td><a class="xref" href="Microsoft.SqlTools.ServiceLayer.Connection.ConnectionService.OnConnectionHandler.html">ConnectionService.OnConnectionHandler</a></td>
<td><span class="parametername">activity</span></td>
<td><em>activity</em></td>
<td></td>
</tr>
</tbody>
@@ -848,7 +810,6 @@ for use in unit test mocking.</p>
<span class="small pull-right mobile-hide">
<a href="https://github.com/Microsoft/sqltoolsservice/blob/master/src/Microsoft.SqlTools.ServiceLayer/Connection/ConnectionService.cs/#L482">View Source</a>
</span>
<a id="Microsoft_SqlTools_ServiceLayer_Connection_ConnectionService_RegisterOnDisconnectTask_" data-uid="Microsoft.SqlTools.ServiceLayer.Connection.ConnectionService.RegisterOnDisconnectTask*"></a>
<h4 id="Microsoft_SqlTools_ServiceLayer_Connection_ConnectionService_RegisterOnDisconnectTask_Microsoft_SqlTools_ServiceLayer_Connection_ConnectionService_OnDisconnectHandler_" data-uid="Microsoft.SqlTools.ServiceLayer.Connection.ConnectionService.RegisterOnDisconnectTask(Microsoft.SqlTools.ServiceLayer.Connection.ConnectionService.OnDisconnectHandler)">RegisterOnDisconnectTask(ConnectionService.OnDisconnectHandler)</h4>
<div class="markdown level1 summary"><p>Add a new method to be called when the ondisconnect request is submitted</p>
</div>
@@ -869,7 +830,7 @@ for use in unit test mocking.</p>
<tbody>
<tr>
<td><a class="xref" href="Microsoft.SqlTools.ServiceLayer.Connection.ConnectionService.OnDisconnectHandler.html">ConnectionService.OnDisconnectHandler</a></td>
<td><span class="parametername">activity</span></td>
<td><em>activity</em></td>
<td></td>
</tr>
</tbody>
@@ -881,7 +842,6 @@ for use in unit test mocking.</p>
<span class="small pull-right mobile-hide">
<a href="https://github.com/Microsoft/sqltoolsservice/blob/master/src/Microsoft.SqlTools.ServiceLayer/Connection/ConnectionService.cs/#L134">View Source</a>
</span>
<a id="Microsoft_SqlTools_ServiceLayer_Connection_ConnectionService_TryFindConnection_" data-uid="Microsoft.SqlTools.ServiceLayer.Connection.ConnectionService.TryFindConnection*"></a>
<h4 id="Microsoft_SqlTools_ServiceLayer_Connection_ConnectionService_TryFindConnection_System_String_Microsoft_SqlTools_ServiceLayer_Connection_ConnectionInfo__" data-uid="Microsoft.SqlTools.ServiceLayer.Connection.ConnectionService.TryFindConnection(System.String,Microsoft.SqlTools.ServiceLayer.Connection.ConnectionInfo@)">TryFindConnection(String, out ConnectionInfo)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
@@ -901,12 +861,12 @@ for use in unit test mocking.</p>
<tbody>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">ownerUri</span></td>
<td><em>ownerUri</em></td>
<td></td>
</tr>
<tr>
<td><a class="xref" href="Microsoft.SqlTools.ServiceLayer.Connection.ConnectionInfo.html">ConnectionInfo</a></td>
<td><span class="parametername">connectionInfo</span></td>
<td><em>connectionInfo</em></td>
<td></td>
</tr>
</tbody>
@@ -950,16 +910,9 @@ for use in unit test mocking.</p>
</div>
<footer>
<div class="grad-bottom"></div>
<div class="footer">
<div class="container">
<span class="pull-right">
<a href="#top">Back to top</a>
</span>
<span>Copyright © 2015-2016 Microsoft<br>Generated by <strong>DocFX</strong></span>
<div class="inner-footer">
<p>© Microsoft &nbsp;//&nbsp; Generated with <a href="https://github.com/dotnet/docfx">DocFX</a></p>
</div>
</div>
</footer>
</div>