Partilhar via


Classe DataSourceReference

Represents a reference to a shared data source.

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

Sintaxe

'Declaração
<SerializableAttribute> _
Public Class DataSourceReference _
    Inherits DataSourceDefinitionOrReference
'Uso
Dim instance As DataSourceReference
[SerializableAttribute]
public class DataSourceReference : DataSourceDefinitionOrReference
[SerializableAttribute]
public ref class DataSourceReference : public DataSourceDefinitionOrReference
[<SerializableAttribute>]
type DataSourceReference =  
    class
        inherit DataSourceDefinitionOrReference
    end
public class DataSourceReference extends DataSourceDefinitionOrReference

Exemplos

You can use theDataSourceReference class with the Item property of the DataSource class to get or set a reference to a shared data source.

The DataSourceReference class is associated with shared data sources. For more information about data sources, see Fontes de dados compartilhadas e incorporadas.

Hierarquia de herança

System. . :: . .Object
  ReportService2005. . :: . .DataSourceDefinitionOrReference
    ReportService2005..::..DataSourceReference

Segurança de thread

Quaisquer membros static (Shared no Visual Basic) públicos deste tipo são thread-safe. Não há garantia de que qualquer membro de instância seja thread-safe.