Change the specified datasource’s user name, password, and root URL information
setDataSourceInfo( [dataSourceName], [user], [password], [url] )
Name | Type | Argument | Description |
dataSourceName | string | (optional) | The datasource's name for example "ODataService.EmployeeDB", it can’t be the table source name |
user | string | (optional) | The new user name ,if you don’t want to change the user name, you can set it to undefined |
password | string | (optional) | The new password, if you don’t want to change the password, you can set it to undefined |
url | string | (optional) | The new root URL for the data source, if you don’t want to change the root URL, you can set it to undefined |