Windward Engine API Reference
XmlDataSourceImpl Constructor(String,CONNECT_MODE,String,String)
See Also  Send comments on this topic.
net.windward.api.csharp Namespace > XmlDataSourceImpl Class > XmlDataSourceImpl Constructor : XmlDataSourceImpl 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 XmlDataSourceImpl(url, mode, username, password)
C# 
public XmlDataSourceImpl( 
   string url,
   DotNetDatasourceBase.CONNECT_MODE mode,
   string username,
   string password
)
Managed Extensions for C++ 
public: XmlDataSourceImpl( 
   string* url,
   DotNetDatasourceBase.CONNECT_MODE mode,
   string* username,
   string* password
)
C++/CLI 
public:
XmlDataSourceImpl( 
   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.