Condividi tramite


Classe DataSourceDefinition

Represents a data source definition in the Report Server database.

Spazio dei nomi:  ReportService2005
Assembly:  ReportService2005 (in ReportService2005.dll)

Sintassi

'Dichiarazione
<SerializableAttribute> _
Public Class DataSourceDefinition _
    Inherits DataSourceDefinitionOrReference
'Utilizzo
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

Osservazioni

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.

Gerarchia di ereditarietà

System. . :: . .Object
  ReportService2005. . :: . .DataSourceDefinitionOrReference
    ReportService2005..::..DataSourceDefinition

Thread Safety

Tutti i membri pubblici static (Shared in Visual Basic) di questo tipo sono thread safe. I membri di istanza non hanno garanzia di essere thread safe.