Windward Engine API Reference
XPathDataSource Constructor(String,CONNECT_MODE,String,String)
See Also  Send comments on this topic.
WindwardReportsDrivers.net.windward.datasource.xml Namespace > XPathDataSource Class > XPathDataSource Constructor : XPathDataSource Constructor(String,CONNECT_MODE,String,String)




url
The url to open.
mode
The credential mode to use.
username
The username for security. Pass null or empty for none.
password
The password for security. Pass null or empty for none.

Glossary Item Box

Open the xml datasource from a url using the mode specified by the credentials mode. Use for http, https, ftp, etc. only.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal url As String, _
   ByVal mode As DotNetDatasourceBase.CONNECT_MODE, _
   ByVal username As String, _
   ByVal password As String _
)
Visual Basic (Usage)Copy Code
Dim url As String
Dim mode As DotNetDatasourceBase.CONNECT_MODE
Dim username As String
Dim password As String
 
Dim instance As New XPathDataSource(url, mode, username, password)
C# 
public XPathDataSource( 
   string url,
   DotNetDatasourceBase.CONNECT_MODE mode,
   string username,
   string password
)
Managed Extensions for C++ 
public: XPathDataSource( 
   string* url,
   DotNetDatasourceBase.CONNECT_MODE mode,
   string* username,
   string* password
)
C++/CLI 
public:
XPathDataSource( 
   String^ url,
   DotNetDatasourceBase.CONNECT_MODE mode,
   String^ username,
   String^ password
)

Parameters

url
The url to open.
mode
The credential mode to use.
username
The username for security. Pass null or empty for none.
password
The password for security. Pass null or empty for none.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP, Windows Vista, Windows Server 2003 family

See Also

© 2019 All Rights Reserved.