Share via


DataSource 类

Represents a data source in a SharePoint library.

继承层次结构

System.Object
  ReportService2006.DataSource

命名空间:  ReportService2006
程序集:  ReportService2006(在 ReportService2006.dll 中)

语法

声明
Public Class DataSource
用法
Dim instance As DataSource
public class DataSource
public ref class DataSource
type DataSource =  class end
public class DataSource

DataSource 类型公开以下成员。

构造函数

  名称 说明
公共方法 DataSource Initializes a new instance of the DataSource class.

页首

属性

  名称 说明
公共属性 Item Gets or sets the value that indicates whether the DataSource refers to a data source definition (DataSourceDefinition object) or a shared data source (DataSourceReference object).
公共属性 Name Gets or sets the name of the data source.

页首

方法

  名称 说明
公共方法 Equals (从 Object 继承。)
受保护方法 Finalize (从 Object 继承。)
公共方法 GetHashCode (从 Object 继承。)
公共方法 GetType (从 Object 继承。)
受保护方法 MemberwiseClone (从 Object 继承。)
公共方法 ToString (从 Object 继承。)

页首

注释

DataSource is returned as output by the GetItemDataSources method and is passed as input to the SetItemDataSources method.

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。

请参阅

参考

ReportService2006 命名空间