Get information about a specific connection
Get information about a specific connection by using the GetConnection method.
The following is returned:
- The creation time of the connection
- The identifier of the connection
- The type of the connection
- The name of the connection
- The connection string
Example
1. Create the first folder connection (qName is Connection01 and qType is folder). The UNC path of the folder connection is given in qConnectionString.
The client sends:
The engine returns:
The first folder connection is created. The identifier of the connection (in qConnectionId) is produced by the engine and is unique.
2. Create the second folder connection (qName is Connection02 and qType is folder). The UNC path of the folder connection is given in qConnectionString.
The client sends:
The engine returns:
The second folder connection is created. The identifier of the connection (in qConnectionId) is produced by the engine and is unique.
3. Get the list of connections and information about each connection.
The client sends:
The engine returns:
The app contains two connections.
The engine returns:
- The creation time of each connection in qModifiedDate
- The identifier of each connection in qId.
- The type of the connection. Both connections are folder connections (qType is folder).
- The name of each connection in qName.
- The connection string in qConnectionString.
4. Get information about the first folder connection (qId is 4E629259-0909FFC0-153F5CA9-2021D66F-DA67E1C6).
The client sends:
The engine returns:
The name, type, modified date and connection string of the connection are returned.