Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

DataSource Class

Represents a data source in a report server database or SharePoint library.


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

type DataSource =  class end

The DataSource type exposes the following members.

Public methodDataSourceInitializes a new instance of the DataSource class.

Public propertyItemGets 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 propertyNameGets or sets the name of the data source.

Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)

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

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2015 Microsoft