- List all Connections
- Create a Connection
- Modify a Connection
- Delete a Connection
- Test a Connection
- List Tables for a Connection
- List Table Columns for a Connection
- Reset OAuth Credentials
List All Connections
The following command returns a list of all connections within the CData Sync application:| Name | Description |
|---|---|
| Name | Specifies the name of the connection to retrieve. |
Create a Connection
The following command creates a new connection in the Sync application:| Name | Description |
|---|---|
| Name (required) | Specifies the name of the connection to create. |
| ProviderName | Specifies the name of the connector to which to connect (for example, the CData Salesforce connector). |
| ConnectionString | Specifies the connection string for the data connection. |
Modify a Connection
The following command modifies an existing connection:| Name | Description |
|---|---|
| Name (required) | Specifies the name of the connection to modify. |
| Name | Description |
|---|---|
| ConnectionString | Specifies the connection string for the data connection. |
Delete a Connection
The following command removes a connection from the Sync application:| Name | Description |
|---|---|
| Name | Specifies the name of the connection to delete. |
Test a Connection
The following command tests a previously created connection.| Name | Description |
|---|---|
| ConnectionName | Specifies the name of the connection to test. |
List Tables
The following command retrieves a list of available tables for a connection:| Name | Description |
|---|---|
| ConnectionName | Specifies the name of the connection from which to retrieve tables. |
| TableOrView | Specifies the types (tables or views) that should be listed. Values for this parameter are TABLES, VIEWS, or ALL. |
| Schema | Restricts tables to a specific schema. |
| IncludeSchema | Specifies whether to include the schema with the table name (in the form [Schema].[Table]) |
| IncludeCatalog | Specifies whether to include a catalog with the table name (in the form [Catalog].[Schema].[Table]) |
List Columns
The following command retrieves a list of available columns for a table:| Name | Description |
|---|---|
| ConnectionName | Specifies the name of the connection from which to retrieve tables. |
| Table | Specifies the name of the table from which to retrieve columns. |
Reset OAuth Credentials
The following command resets the stored OAuth credentials for an existing connection.| Name | Description |
|---|---|
| ConnectionName (required) | Specifies the name of the connection for which the stored OAuth credentials are to be reset. |