This topic has not yet been rated - Rate this topic

DataSource Class

Represents a data source in a report server database or SharePoint library.

System.Object
  ReportService2010.DataSource

Namespace:  ReportService2010
Assembly:  ReportService2010 (in ReportService2010.dll)

[SerializableAttribute]
public class DataSource

The DataSource type exposes the following members.

  Name Description
Public method DataSource Initializes a new instance of the DataSource class.
Top
  Name Description
Public property Item Gets or sets the value that indicates whether the DataSource refers to a data source definition (DataSourceDefinition object) or a shared data source (DataSourceReference object).
Public property Name Gets or sets the name of the data source.
Top
  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)
Top

DataSource is returned as output by the GetItemDataSources method and is passed as input to the SetItemDataSources method.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ