This topic has not yet been rated - Rate this topic

DataSourceReference Class

Represents a reference to a shared data source.

System.Object
  ReportService2010.DataSourceDefinitionOrReference
    ReportService2010.DataSourceReference

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

[SerializableAttribute]
public class DataSourceReference : DataSourceDefinitionOrReference

The DataSourceReference type exposes the following members.

  Name Description
Public method DataSourceReference Initializes a new instance of the DataSourceReference class.
Top
  Name Description
Public property Reference Gets or sets the reference to a shared 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

You can use the DataSourceReference class together with the Item property of the DataSource class to reference a shared data source.

The DataSourceReference class is associated with shared data sources. For more information about data sources, see Shared Data Sources and Embedded Data Sources.

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