Partager via


Classe DataSourceDefinition

Represents a data source definition in SharePoint library.

Espace de noms :  ReportService2006
Assembly :  ReportService2006 (dans ReportService2006.dll)

Syntaxe

'Déclaration
<SerializableAttribute> _
Public Class DataSourceDefinition _
    Inherits DataSourceDefinitionOrReference
'Utilisation
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

Notes

Use the DataSourceDefinition class together 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.

Hiérarchie d'héritage

System. . :: . .Object
  ReportService2006. . :: . .DataSourceDefinitionOrReference
    ReportService2006..::..DataSourceDefinition

Sécurité des threads

Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Il n'est pas garanti que les membres d'instance soient thread-safe.