共用方式為


DataSourceReference 類別

Represents a reference to a shared data source.

命名空間:  ReportService2005
組件:  ReportService2005 (在 ReportService2005.dll 中)

語法

'宣告
<SerializableAttribute> _
Public Class DataSourceReference _
    Inherits DataSourceDefinitionOrReference
'用途
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

範例

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 共用資料來源和內嵌資料來源.

繼承階層

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

執行緒安全性

這個類型的任何公用static (在 Visual Basic 中為 Shared) 成員都是安全執行緒。不保證任何執行個體成員都可以是安全執行緒。