Listing projects
Log in to add to favouritesGetting 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();