New to Telerik ReportingStart a free 30-day trial

Definition

Namespace:Telerik.Reporting

Assembly:Telerik.Reporting.dll

Syntax:

C#
public abstract class ServiceDataSource : DataSource, IDataSource

Inheritance: objectMarshalByRefObjectComponentDataSourceServiceDataSource

Derived Classes: GraphQLDataSourceWebServiceDataSource

Implements: IDataSource

Inherited Members DataSource.NameDataSource.DescriptionDataSource.CalculatedFields

Constructors

C#
public ServiceDataSource()

Properties

DataEncoding

Encoding

Gets or sets the data encoding. Default is UTF-8.

C#
[TypeConverter(typeof(EncodingConverter))]
public Encoding DataEncoding { get; set; }

Gets or sets the data selector expression which will be used to query and filter the data returned from the web service.

C#
public string DataSelector { get; set; }

Gets or sets a value indicating whether to treats any response errors as if no data is returned from the web service.

C#
public bool IgnoreResponseErrors { get; set; }

Gets or sets the timespan in seconds to wait before the request times out. Default is 100 seconds. Set the timeout to 0 to configure an infinite timeout.

C#
public int RequestTimeout { get; set; }

Gets or sets the URL of the request which is going to retrieve the data. Required if WebServiceDataSource.Source is not set.

C#
public string ServiceUrl { get; set; }

Source

object

Gets or sets the local source of the data. Can be the data string itself or a URI where the data is located. Required if WebServiceDataSource.ServiceUrl is not set.

C#
public object Source { get; set; }

Methods

C#
protected static bool AuthenticationEquals(WebServiceAuthentication a1, WebServiceAuthentication a2)
Parameters:a1WebServiceAuthenticationa2WebServiceAuthenticationReturns:

bool