Table of Contents

Method LoadProject

Namespace
Kepware.Api.ClientHandler
Assembly
Kepware.Api.dll

LoadProject(bool, CancellationToken)

Loads the project from the Kepware server. If blnLoadFullProject is true, it loads the full project, otherwise only the project properties will be returned.

public Task<Project> LoadProject(bool blnLoadFullProject = false, CancellationToken cancellationToken = default)

Parameters

blnLoadFullProject bool

Indicates whether to load the full project.

cancellationToken CancellationToken

The cancellation token.

Returns

Task<Project>

A task that represents the asynchronous operation. The task result contains the loaded project.

Remarks

NOTE: When loading a full project, the project will be loaded via the JsonProjectLoad service if supported by the server. (Kepware Server 6.17+ and Thingworx Kepware Server 1.10+) Otherwise, the project will be loaded by recursively loading all objects in the project.