Click or drag to resize

ReportingServicesRunDataSource Method

Executes and retrieves the tabular results for a specific DataSource within the specified DataMiner template.

Namespace:  FactoryLogix.xTend.Analytics
Assembly:  FactoryLogix.xTend.API (in FactoryLogix.xTend.API.dll) Version: 8.242.0.0 (8.242.0.0)
Syntax
public DataTable RunDataSource(
	Guid sessionId,
	Guid templateId,
	string dataSourceId,
	ParameterValue[] parameters
)

Parameters

sessionId
Type: SystemGuid
The session identifier that was returned by the Connect(String, String, String, String, String) method.
templateId
Type: SystemGuid
The Id of the DataMiner template.
dataSourceId
Type: SystemString
The Id of the DataSource to be executed.
parameters
Type: FactoryLogix.xTend.DataObjectsParameterValue
A list of ParameterValue objects representing the data filters and parameters to be used by the query.

Return Value

Type: DataTable
A DataTable object represeting the results of the query.
Exceptions
ExceptionCondition
InvalidSessionExceptionThrown if the sessionId parameter is invalid.
NotFoundExceptionThe specified DataTemplate and/or DataSource was not found in the system.
InvalidParameterExceptionOne or more of the specified ParameterValues was not valid.
See Also