Skip to main content

Getting a list of projects can be achieved by using one of the List method overloads.

List

Lists all projects for a Contensis instance.

Syntax

C#
public List<Project> List()
{
}

Example

C#
using Zengenti.Contensis.Management;

// Create a client
var client = ManagementClient.Create();

// List projects
var projects = client.Projects.List();

List async

Lists all projects for a Contensis instance asynchronously.

Syntax

C#
public async Task<List<Project> ListAsync()
{
}

Example

C#
using Zengenti.Contensis.Management;

// Create a client
var client = ManagementClient.Create();

// List projects
var projects = await client.Projects.ListAsync();

Still need help?

If you still need help after reading this article, don't hesitate to reach out to the Contensis community on Slack or raise a support ticket to get help from our team.
New support request