-
+ Improve this Doc
+ View Source
Main class for the Connection Management services
@@ -79,30 +82,6 @@
System.Object
ConnectionService
-
-
Inherited Members
-
- System.Object.Equals(System.Object)
-
-
- System.Object.Equals(System.Object, System.Object)
-
-
- System.Object.GetHashCode()
-
-
- System.Object.GetType()
-
-
- System.Object.MemberwiseClone()
-
-
- System.Object.ReferenceEquals(System.Object, System.Object)
-
-
- System.Object.ToString()
-
-
Namespace:Microsoft.SqlTools.ServiceLayer.Connection
Assembly:Microsoft.SqlTools.ServiceLayer.dll
@@ -118,7 +97,6 @@
View Source
-
Default constructor should be private since it's a singleton class, but we need a constructor
for use in unit test mocking.
@@ -135,7 +113,6 @@ for use in unit test mocking.
View Source
-
Test constructor that injects dependency interfaces
@@ -156,7 +133,7 @@ for use in unit test mocking.
| ISqlConnectionFactory |
- testFactory |
+ testFactory |
|
@@ -170,7 +147,6 @@ for use in unit test mocking.
View Source
-
Gets the SQL connection factory instance
@@ -179,7 +155,7 @@ for use in unit test mocking.
public ISqlConnectionFactory ConnectionFactory { get; }
-
Property Value
+
@@ -201,7 +177,6 @@ for use in unit test mocking.
View Source
-
Gets the singleton service instance
@@ -210,7 +185,7 @@ for use in unit test mocking.
public static ConnectionService Instance { get; }
- Property Value
+
@@ -234,7 +209,6 @@ for use in unit test mocking.
View Source
-
Build a connection string from a connection details instance
@@ -255,7 +229,7 @@ for use in unit test mocking.
| ConnectionDetails |
- connectionDetails |
+ connectionDetails |
|
@@ -282,7 +256,6 @@ for use in unit test mocking.
View Source
-
Cancel a connection that is in the process of opening.
@@ -303,7 +276,7 @@ for use in unit test mocking.
| CancelConnectParams |
- cancelParams |
+ cancelParams |
|
@@ -330,7 +303,6 @@ for use in unit test mocking.
View Source
-
ChangeConnectionDatabaseContext(String, String)
Change the database context of a connection.
@@ -351,13 +323,13 @@ for use in unit test mocking.
| System.String |
- ownerUri |
+ ownerUri |
URI of the owner of the connection
|
| System.String |
- newDatabaseName |
+ newDatabaseName |
Name of the database to change the connection to
|
@@ -370,7 +342,6 @@ for use in unit test mocking.
View Source
-
Open a connection with the specified connection details
@@ -391,7 +362,7 @@ for use in unit test mocking.
| ConnectParams |
- connectionParams |
+ connectionParams |
|
@@ -418,7 +389,6 @@ for use in unit test mocking.
View Source
-
Close a connection with the specified connection details.
@@ -439,7 +409,7 @@ for use in unit test mocking.
| DisconnectParams |
- disconnectParams |
+ disconnectParams |
|
@@ -466,7 +436,6 @@ for use in unit test mocking.
View Source
-
HandleCancelConnectRequest(CancelConnectParams, RequestContext<Boolean>)
Handle cancel connect requests
@@ -487,12 +456,12 @@ for use in unit test mocking.
| CancelConnectParams |
- cancelParams |
+ cancelParams |
|
| RequestContext<System.Boolean> |
- requestContext |
+ requestContext |
|
@@ -519,7 +488,6 @@ for use in unit test mocking.
View Source
-
HandleConnectRequest(ConnectParams, RequestContext<Boolean>)
Handle new connection requests
@@ -540,12 +508,12 @@ for use in unit test mocking.
| ConnectParams |
- connectParams |
+ connectParams |
|
| RequestContext<System.Boolean> |
- requestContext |
+ requestContext |
|
@@ -572,7 +540,6 @@ for use in unit test mocking.
View Source
-
HandleDidChangeConfigurationNotification(SqlToolsSettings, SqlToolsSettings, EventContext)
@@ -592,17 +559,17 @@ for use in unit test mocking.
| SqlToolsSettings |
- newSettings |
+ newSettings |
|
| SqlToolsSettings |
- oldSettings |
+ oldSettings |
|
| EventContext |
- eventContext |
+ eventContext |
|
@@ -629,7 +596,6 @@ for use in unit test mocking.
View Source
-
HandleDisconnectRequest(DisconnectParams, RequestContext<Boolean>)
Handle disconnect requests
@@ -650,12 +616,12 @@ for use in unit test mocking.
| DisconnectParams |
- disconnectParams |
+ disconnectParams |
|
| RequestContext<System.Boolean> |
- requestContext |
+ requestContext |
|
@@ -682,7 +648,6 @@ for use in unit test mocking.
View Source
-
HandleListDatabasesRequest(ListDatabasesParams, RequestContext<ListDatabasesResponse>)
Handle requests to list databases on the current server
@@ -703,12 +668,12 @@ for use in unit test mocking.
| ListDatabasesParams |
- listDatabasesParams |
+ listDatabasesParams |
|
| RequestContext<ListDatabasesResponse> |
- requestContext |
+ requestContext |
|
@@ -735,7 +700,6 @@ for use in unit test mocking.
View Source
-
@@ -755,7 +719,7 @@ for use in unit test mocking.
| IProtocolEndpoint |
- serviceHost |
+ serviceHost |
|
@@ -767,7 +731,6 @@ for use in unit test mocking.
View Source
-
List all databases on the server specified
@@ -788,7 +751,7 @@ for use in unit test mocking.
| ListDatabasesParams |
- listDatabasesParams |
+ listDatabasesParams |
|
@@ -815,7 +778,6 @@ for use in unit test mocking.
View Source
-
Add a new method to be called when the onconnection request is submitted
@@ -836,7 +798,7 @@ for use in unit test mocking.
| ConnectionService.OnConnectionHandler |
- activity |
+ activity |
|
@@ -848,7 +810,6 @@ for use in unit test mocking.
View Source
-
Add a new method to be called when the ondisconnect request is submitted
@@ -869,7 +830,7 @@ for use in unit test mocking.
| ConnectionService.OnDisconnectHandler |
- activity |
+ activity |
|
@@ -881,7 +842,6 @@ for use in unit test mocking.
View Source
-
@@ -901,12 +861,12 @@ for use in unit test mocking.
| System.String |
- ownerUri |
+ ownerUri |
|
| ConnectionInfo |
- connectionInfo |
+ connectionInfo |
|
@@ -950,16 +910,9 @@ for use in unit test mocking.