Driver constructor
Office 2013 and later
Creates a Driver object from the ASMX-based Driver web service.
Namespace: WebSvcDriver
Assembly: ProjectServerServices (in ProjectServerServices.dll)
In the following statement, DriverWebSvc is an arbitrary namespace for the ASMX-based Driver web service.
private static DriverWebSvc.Driver driver = new DriverWebSvc.Driver();
In the following statement, SvcDriver is an arbitrary namespace for the WCF-based Driver 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 SvcDriver.DriverClient driverClient = new SvcDriver.DriverClient(endpt);
Show: