Sdílet prostřednictvím


DataSourceDefinition Class

Represents a data source definition in the Report Server database.

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

Syntax

'Declaration
<SerializableAttribute> _
Public Class DataSourceDefinition _
    Inherits DataSourceDefinitionOrReference
'Usage
Dim instance As DataSourceDefinition
[SerializableAttribute]
public class DataSourceDefinition : DataSourceDefinitionOrReference
[SerializableAttribute]
public ref class DataSourceDefinition : public DataSourceDefinitionOrReference
[<SerializableAttribute>]
type DataSourceDefinition =  
    class
        inherit DataSourceDefinitionOrReference
    end
public class DataSourceDefinition extends DataSourceDefinitionOrReference

Remarks

Use the DataSourceDefinition class with the Item property of the DataSource class.

A DataSourceDefinition object is returned as output by the GetDataSourceContents method and is passed as input to the CreateDataSource and SetDataSourceContents methods.

The DataSourceDefinition class is used for both embedded and shared data sources.

Inheritance Hierarchy

System.Object
  ReportService2005.DataSourceDefinitionOrReference
    ReportService2005.DataSourceDefinition

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.