IDatasourcesMgr.GetDatasource (METH)¶
METHOD GetDatasource : IDatasource
Returns the datasource representing the given object’s name.
- InOut:
Scope
Name
Type
Comment
Return
GetDatasourceThe datasource object or 0 in case there is none with the given name.
Important
Please remark that returned object reference should not be kept over several task cycles to prevent possible problems in case of online changes e.g. adding or removing datasources!
Input
nameSTRINGThe name of the datasource as configured in the according object’s name in the project