Windward Engine API Reference
XmlDataSourceImpl Constructor(String,CONNECT_MODE,String,String,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,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.
urlSchema
The schema url to open.
modeSchema
The schema credential mode to use.
usernameSchema
The schema username for security. Pass null or empty for none.
passwordSchema
The schema 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 Kailua.net.windward.utils.FileUtils.CONNECT_MODE, _
   ByVal username As String, _
   ByVal password As String, _
   ByVal urlSchema As String, _
   ByVal modeSchema As Kailua.net.windward.utils.FileUtils.CONNECT_MODE, _
   ByVal usernameSchema As String, _
   ByVal passwordSchema As String _
)
Visual Basic (Usage)Copy Code
Dim url As String
Dim mode As Kailua.net.windward.utils.FileUtils.CONNECT_MODE
Dim username As String
Dim password As String
Dim urlSchema As String
Dim modeSchema As Kailua.net.windward.utils.FileUtils.CONNECT_MODE
Dim usernameSchema As String
Dim passwordSchema As String
 
Dim instance As New XmlDataSourceImpl(url, mode, username, password, urlSchema, modeSchema, usernameSchema, passwordSchema)
C# 
public XmlDataSourceImpl( 
   string url,
   Kailua.net.windward.utils.FileUtils.CONNECT_MODE mode,
   string username,
   string password,
   string urlSchema,
   Kailua.net.windward.utils.FileUtils.CONNECT_MODE modeSchema,
   string usernameSchema,
   string passwordSchema
)
Managed Extensions for C++ 
public: XmlDataSourceImpl( 
   string* url,
   Kailua.net.windward.utils.FileUtils.CONNECT_MODE mode,
   string* username,
   string* password,
   string* urlSchema,
   Kailua.net.windward.utils.FileUtils.CONNECT_MODE modeSchema,
   string* usernameSchema,
   string* passwordSchema
)
C++/CLI 
public:
XmlDataSourceImpl( 
   String^ url,
   Kailua.net.windward.utils.FileUtils.CONNECT_MODE mode,
   String^ username,
   String^ password,
   String^ urlSchema,
   Kailua.net.windward.utils.FileUtils.CONNECT_MODE modeSchema,
   String^ usernameSchema,
   String^ passwordSchema
)

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.
urlSchema
The schema url to open.
modeSchema
The schema credential mode to use.
usernameSchema
The schema username for security. Pass null or empty for none.
passwordSchema
The schema 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.