共用方式為


DataSourceDefinitionOrReference Class

Definition

Represents a data source definition or a reference to a shared data source.

public ref class DataSourceDefinitionOrReference
[System.CodeDom.Compiler.GeneratedCode("wsdl", "2.0.50727.3038")]
[System.ComponentModel.DesignerCategory("code")]
[System.Diagnostics.DebuggerStepThrough]
[System.Xml.Serialization.XmlInclude(typeof(ReportService2010.DataSourceReference))]
[System.Xml.Serialization.XmlInclude(typeof(ReportService2010.InvalidDataSourceReference))]
[System.Xml.Serialization.XmlInclude(typeof(ReportService2010.DataSourceDefinition))]
[System.Xml.Serialization.XmlType(Namespace="http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer")]
[System.Serializable]
public class DataSourceDefinitionOrReference
[<System.CodeDom.Compiler.GeneratedCode("wsdl", "2.0.50727.3038")>]
[<System.ComponentModel.DesignerCategory("code")>]
[<System.Diagnostics.DebuggerStepThrough>]
[<System.Xml.Serialization.XmlInclude(typeof(ReportService2010.DataSourceReference))>]
[<System.Xml.Serialization.XmlInclude(typeof(ReportService2010.InvalidDataSourceReference))>]
[<System.Xml.Serialization.XmlInclude(typeof(ReportService2010.DataSourceDefinition))>]
[<System.Xml.Serialization.XmlType(Namespace="http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer")>]
[<System.Serializable>]
type DataSourceDefinitionOrReference = class
Public Class DataSourceDefinitionOrReference
Inheritance
DataSourceDefinitionOrReference
Derived
Attributes

Remarks

Methods of the ReportingService2010 class use objects that inherit DataSourceDefinitionOrReference. The following table describes classes that implement DataSourceDefinitionOrReference.

Class Description
DataSourceDefinition Represents a data source definition in the report server database or SharePoint library.
DataSourceReference Represents a reference to a shared data source in the report server database or SharePoint library.
InvalidDataSourceReference Indicates that a data source reference is no longer valid.

Constructors

DataSourceDefinitionOrReference()

Initializes a new instance of the DataSourceDefinitionOrReference class.

Applies to