Skip to main content
Browse Documentation

Listing projects

Created by Scott Yearsley, last modified by sihoran on 11 Jun 2019

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

public List<Project> List()
{
}

Example

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

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

Example

using Zengenti.Contensis.Management;

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

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