Click or drag to resize

ReportingServicesRunDataTemplate Method

Executes and retrieves the tabular results for the specified DataMiner template. If more than one DataSource is included in the DataTemplate, The resultant DataSet will include multiple DataTables, one for each DataSource.

Namespace:  FactoryLogix.xTend.Analytics
Assembly:  FactoryLogix.xTend.API (in FactoryLogix.xTend.API.dll) Version: 8.242.0.0 (8.242.0.0)
Syntax
public DataSet RunDataTemplate(
	Guid sessionId,
	Guid templateId,
	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 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: DataSet
A DataSet object represeting the results of the query.
Exceptions
ExceptionCondition
InvalidSessionExceptionThrown if the sessionId parameter is invalid.
NotFoundExceptionThe specified DataTemplate was not found in the system.
InvalidParameterExceptionOne or more of the specified ParameterValues was not valid.
See Also