Share via


DataSourceReference Class

Definition

Represents a reference to a shared data source.

public ref class DataSourceReference : ReportService2010::DataSourceDefinitionOrReference
[System.CodeDom.Compiler.GeneratedCode("wsdl", "2.0.50727.3038")]
[System.ComponentModel.DesignerCategory("code")]
[System.Diagnostics.DebuggerStepThrough]
[System.Xml.Serialization.XmlType(Namespace="http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer")]
[System.Serializable]
public class DataSourceReference : ReportService2010.DataSourceDefinitionOrReference
[<System.CodeDom.Compiler.GeneratedCode("wsdl", "2.0.50727.3038")>]
[<System.ComponentModel.DesignerCategory("code")>]
[<System.Diagnostics.DebuggerStepThrough>]
[<System.Xml.Serialization.XmlType(Namespace="http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer")>]
[<System.Serializable>]
type DataSourceReference = class
    inherit DataSourceDefinitionOrReference
Public Class DataSourceReference
Inherits DataSourceDefinitionOrReference
Inheritance
Attributes

Remarks

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 Report-Specific Data Sources.

Constructors

DataSourceReference()

Initializes a new instance of the DataSourceReference class.

Properties

Reference

Gets or sets the reference to a shared data source.

Applies to