共用方式為


DataSource Class

Definition

Represents a data source in a report server database or SharePoint library.

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
Inheritance
DataSource
Attributes

Remarks

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

Constructors

DataSource()

Initializes a new instance of the DataSource class.

Properties

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.

Applies to