Share via


DataSource Class

Represents a data source in the report server database.

Inheritance Hierarchy

System.Object
  ReportService2005.DataSource

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

Syntax

'Declaration
<SerializableAttribute> _
Public Class DataSource
'Usage
Dim instance As DataSource
[SerializableAttribute]
public class DataSource
[SerializableAttribute]
public ref class DataSource
[<SerializableAttribute>]
type DataSource =  class end
public class DataSource

The DataSource type exposes the following members.

Constructors

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

Top

Properties

  Name Description
Public property Item The data source definition (DataSourceDefinition object) or a reference to a shared data source (DataSourceReference object).
Public property Name Gets or sets the name of the data source.

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

DataSource is returned as output by the GetItemDataSources method and is passed as input to the SetItemDataSources method.

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