DataSourceReference Class

Represents a reference to a shared data source.

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

public ref class DataSourceReference : public DataSourceDefinitionOrReference

The DataSourceReference type exposes the following members.

Public methodDataSourceReferenceInitializes a new instance of the DataSourceReference class.

Public propertyReferenceGets or sets the reference to a shared data source.

Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)

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.