Share via


DataSourceReference Class

Represents a reference to a shared data source.

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

Syntax

'Declaration
<SerializableAttribute> _
Public Class DataSourceReference _
    Inherits DataSourceDefinitionOrReference
'Usage
Dim instance As DataSourceReference
[SerializableAttribute]
public class DataSourceReference : DataSourceDefinitionOrReference
[SerializableAttribute]
public ref class DataSourceReference : public DataSourceDefinitionOrReference
[<SerializableAttribute>]
type DataSourceReference =  
    class
        inherit DataSourceDefinitionOrReference
    end
public class DataSourceReference extends DataSourceDefinitionOrReference

Examples

You can use theDataSourceReference class with the Item property of the DataSource class to get or set a reference to 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.

Inheritance Hierarchy

System.Object
  ReportService2005.DataSourceDefinitionOrReference
    ReportService2005.DataSourceReference

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.