Share via


DataSource Class

Represents a data source in a SharePoint library.

Inheritance Hierarchy

System.Object
  ReportService2006.DataSource

Namespace:  ReportService2006
Assembly:  ReportService2006 (in ReportService2006.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 Gets or sets the value that indicates whether the DataSource refers to a data source definition (DataSourceDefinition object) or 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