Delen via


DataSourceReference Class

Represents a reference to a shared data source in a SharePoint library.

Inheritance Hierarchy

System.Object
  ReportService2006.DataSourceDefinitionOrReference
    ReportService2006.DataSourceReference

Namespace:  ReportService2006
Assembly:  ReportService2006 (in ReportService2006.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

The DataSourceReference type exposes the following members.

Constructors

  Name Description
Public method DataSourceReference Initializes a new instance of the DataSourceReference class.

Top

Properties

  Name Description
Public property Reference Gets or sets reference to a shared data source in a SharePoint library.

Top

Methods

  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

Remarks

You can use theDataSourceReference class together with the Item property of the DataSource class to reference a shared data source in a SharePoint library.

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

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.

See Also

Reference