LoginForms constructor
Office 2013 and later
Creates an LoginForms object from the ASMX-based LoginForms web service.
Namespace: WebSvcLoginForms
Assembly: ProjectServerServices (in ProjectServerServices.dll)
In the following statement, LoginFormsWebSvc is an arbitrary namespace for the ASMX-based LoginForms web service.
private static LoginFormsWebSvc.LoginForms loginForms = new LoginFormsWebSvc.LoginForms();
In the following statement, SvcLoginForms is an arbitrary namespace for the WCF-based LoginForms 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 SvcLoginForms.LoginFormsClient loginFormsClient = new SvcLoginForms.LoginFormsClient(endpt);
Show: