LoginWindows Constructor

Creates a LoginWindows object from the ASMX-based LoginWindows web service.

Namespace:  [LoginWindows Web service]
Service reference: http://ServerName:32843/[Project Service Application GUID]/PSI/LoginWindows.svc
Web service reference: http://ServerName/ProjectServerName/_vti_bin/PSI/LoginWindows.asmx?wsdl

Syntax

'Declaration
Public Sub New
'Usage

Dim instance As New LoginWindows()
public LoginWindows()

Remarks

To create an object that is equivalent to LoginWindows by using the Windows Communication Foundation (WCF) API, use one of the LoginWindowsClient constructors.

Examples

In the following statement, LoginWindowsWebSvc is an arbitrary namespace for the ASMX-based LoginWindows web service.

private static LoginWindowsWebSvc.LoginWindows loginWindows = new loginWindowsWebSvc.LoginWindows();

In the following statement, SvcLoginWindows is an arbitrary namespace for the WCF-based LoginWindows 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 SvcLoginWindows.LoginWindowsClient loginWindowsClient = new SvcLoginWindows.LoginWindowsClient(endpt);

See Also

Reference

LoginWindows Class

LoginWindows Members

LoginWindows Web Service