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




url
The url to the well formed xml data file.
credentials
The credentials for accessing the file. null if no credentials.

Glossary Item Box

Create a DataSourceProvider that uses a url and credentials for the data. Uses XmlUrlResolver and XmlReader to read the file.

Syntax

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

Parameters

url
The url to the well formed xml data file.
credentials
The credentials for accessing the file. null if no credentials.

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.