Project constructor
Office 2013 and later
Creates a Project object from the ASMX-based Project web service.
Namespace: WebSvcProject
Assembly: ProjectServerServices (in ProjectServerServices.dll)
In the following statement, WebSvcProject is an arbitrary namespace for the ASMX-based Project web service.
private static WebSvcProject.Project project = new WebSvcProject.Project();
In the following statement, WebSvcProject is an arbitrary namespace for the WCF-based Project web service. The endpt parameter is a String value that specifies the name of the client endpoint address in the app.config file (or in the web.config file for web applications).
private static WebSvcProject.ProjectClient projectClient = new WebSvcProject.ProjectClient(endpt);
Show: