Related Topics
DataSource Class
This object represents a database DataSource which contains the connection details to connect to a database. The Provider and Connection can be used with native ADO.NET calls to connect to external databases.
This object is derived from the ContentObject class. All properties and methods from the ContentObject are supported for this object, plus the properties below.
Properties
PROPERTY NAME | DATA TYPE | DESCRIPTION |
---|---|---|
Provider | String | The Provider string of this connection. |
Connection | String | The connection string for this SQL connection. |
DBType | String | The optional type of database. |
Methods


This API will get a DataSource object from the specified ID.
Parameters
BP: The Process Director BP Object
Name: The name of the DataSource to retrieve.
Returns
DataSource: Will return null if Datasource isn't found.
Example
// Get the Datasource to my ERP system
var oDS = DataSource.GetDataSourceByName(bp, "ERP System");
Documentation Feedback and Questions
If you notice some way that this document can be improved, we're happy to hear your suggestions. Similarly, if you can't find an answer you're looking for, ask it via feedback. Simply click on the button below to provide us with your feedback or ask a question. Please remember, though, that not every issue can be addressed through documentation. So, if you have a specific technical issue with Process Director, please open a support ticket.