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