LookupTable constructor
Office 2013 and later
Creates a LookupTable object from the ASMX-based LookupTable web service.
Namespace: WebSvcLookupTable
Assembly: ProjectServerServices (in ProjectServerServices.dll)
In the following statement, LookupTableWebSvc is an arbitrary namespace for the ASMX-based LookupTable web service.
private static LookupTableWebSvc.LookupTable lookupTable = new LookupTableWebSvc.LookupTable();
In the following statement, SvcLookupTable is an arbitrary namespace for the WCF-based LookupTable 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 SvcLookupTable.LookupTableClient lookupTableClient = new SvcLookupTable.LookupTableClient(endpt);
Show: