Azure DevOps Connector
Documentation
Version: 2
Documentation
Endpoint

Get List of Projects


Name

get_projects

Description

Gets a list of projects within the organization. [API reference]

Related Tables

Projects

Parameters

Parameter Label Required Options Description
There are no parameters

Output Columns

Label Data Type (SSIS) Data Type (SQL) Length Raw Description
Id DT_WSTR nvarchar(500) 500 False
Name DT_WSTR nvarchar(500) 500 False
Description DT_WSTR nvarchar(1160) 1160 False
Url DT_WSTR nvarchar(1000) 1000 False
State DT_WSTR nvarchar(100) 100 False
Revision DT_I4 int False
Visibility DT_WSTR nvarchar(100) 100 False
LastUpdateTime DT_DBTIMESTAMP datetime False
If the column you are looking for is missing, consider customizing Azure DevOps Connector.

Input Columns

Label Data Type (SSIS) Data Type (SQL) Length Raw Description
There are no Static columns defined for this endpoint. This endpoint detects columns dynamically at runtime.

Examples

SSIS

Use Azure DevOps Connector in API Source component to read data or in API Destination component to read/write data:

Read from Projects table using API Destination

This Endpoint belongs to Projects table, therefore you cannot work with it directly. Use this table and table-operation pair instead:

Azure DevOps
Projects
Select
SSIS API Destination - Access table operation

ODBC application

Use these SQL queries in your ODBC application data source:

Get list of projects

SELECT * FROM get_projects

Get a list of projects associated with your Azure DevOps organization

SELECT * FROM Projects

Get specific columns from a list of projects associated with your Azure DevOps organization

SELECT Id, Name, Description, Url, State, Revision, Visibility, LastUpdateTime FROM Projects

get_projects endpoint belongs to Projects table(s), and can therefore be used via those table(s).

SQL Server

Use these SQL queries in SQL Server after you create a data source in Data Gateway:

Get list of projects

DECLARE @MyQuery NVARCHAR(MAX) = 'SELECT * FROM get_projects';

EXEC (@MyQuery) AT [LS_TO_AZURE_DEVOPS_IN_GATEWAY];

Get a list of projects associated with your Azure DevOps organization

DECLARE @MyQuery NVARCHAR(MAX) = 'SELECT * FROM Projects';

EXEC (@MyQuery) AT [LS_TO_AZURE_DEVOPS_IN_GATEWAY];

Get specific columns from a list of projects associated with your Azure DevOps organization

DECLARE @MyQuery NVARCHAR(MAX) = 'SELECT Id, Name, Description, Url, State, Revision, Visibility, LastUpdateTime FROM Projects';

EXEC (@MyQuery) AT [LS_TO_AZURE_DEVOPS_IN_GATEWAY];

get_projects endpoint belongs to Projects table(s), and can therefore be used via those table(s).