skip to main content
OpenAccess SDK Manager Commands : OpenAccess SDK Manager Commands : DataSourceAttributeReplace | dsar
 

DataSourceAttributeReplace | dsar

Changes the value of a server data source attribute.

Syntax

{DataSourceAttributeReplace | dsar} service_name data_source_name attribute_name value
where:
service_name is the name of a data access service. Service names can be obtained using the ServiceList | sl command.
data_source_name is the name of the server data source you want to modify. This server data source must belong to the data access service you specified.
attribute_name is the attribute for which you want to change the value.
value is the new value of the attribute.
See OpenAccess SDK Service Attributes for a list of service attributes and their valid values.

Example

The following example changes the value of the DataSourceCurrentCatalog attribute in the DS_Employees server data source that belongs to the OpenAccessSDK810_C data access service. The value is changed to partners.

dsar OpenAccessSDK810_C DS_Employees DataSourceCurrentCatalog partners