DataSource 类

定义

表示报告服务器数据库或 SharePoint 库 中的一个数据源。

public ref class DataSource
[System.CodeDom.Compiler.GeneratedCode("wsdl", "2.0.50727.3038")]
[System.ComponentModel.DesignerCategory("code")]
[System.Diagnostics.DebuggerStepThrough]
[System.Xml.Serialization.XmlType(Namespace="http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer")]
[System.Serializable]
public class DataSource
[<System.CodeDom.Compiler.GeneratedCode("wsdl", "2.0.50727.3038")>]
[<System.ComponentModel.DesignerCategory("code")>]
[<System.Diagnostics.DebuggerStepThrough>]
[<System.Xml.Serialization.XmlType(Namespace="http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer")>]
[<System.Serializable>]
type DataSource = class
Public Class DataSource
继承
DataSource
属性

注解

DataSource 方法返回为输出 GetItemDataSources ,作为输入传递给 SetItemDataSources 方法。

构造函数

名称 说明
DataSource()

初始化 DataSource 类的新实例。

属性

名称 说明
Item

获取或设置值,指示 指DataSource的是数据源定义(DataSourceDefinition对象)还是共享数据源(对象)。DataSourceReference

Name

获取或设置数据源的名称。

适用于