Класс DataSource

Represents a data source.

Иерархия наследования

System.Object
  Microsoft.ReportingServices.RdlObjectModel.ReportObjectBase
    Microsoft.ReportingServices.RdlObjectModel.ReportObject
      Microsoft.ReportingServices.RdlObjectModel.DataSource

Пространство имен:  Microsoft.ReportingServices.RdlObjectModel
Сборка:  Microsoft.ReportingServices.Designer.Controls (в Microsoft.ReportingServices.Designer.Controls.dll)

Синтаксис

'Декларация
Public Class DataSource _
    Inherits ReportObject _
    Implements INamedObject
'Применение
Dim instance As DataSource
public class DataSource : ReportObject, INamedObject
public ref class DataSource : public ReportObject, 
    INamedObject
type DataSource =  
    class 
        inherit ReportObject 
        interface INamedObject 
    end
public class DataSource extends ReportObject implements INamedObject

Тип DataSource обеспечивает доступ к следующим элементам.

Конструкторы

  Имя Описание
Открытый метод DataSource Initializes a new instance of the DataSource class.

В начало

Свойства

  Имя Описание
Открытое свойство ComponentMetadata Gets or sets the component metadata. (Производный от ReportObject.)
Открытое свойство ConnectionProperties Gets or sets the connection properties.
Открытое свойство Credentials Инфраструктура. Gets or sets the data source credentials.
Открытое свойство DataSourceID Gets or sets the data source ID.
Открытое свойство DataSourceReference Gets or sets the path to a shared data source.
Открытое свойство DesignTimeCredentials Инфраструктура. Gets or sets the credentials at design time.
Открытое свойство ImpersonateUser Инфраструктура. Gets or sets a value that indicates whether to impersonate the user.
Открытое свойство IsModel Инфраструктура. Gets or sets a value that indicates whether the data source is a model.
Открытое свойство IsModified Инфраструктура. Gets or sets a value that indicates whether the data source is modified.
Открытое свойство IsModifiedSincePreview Инфраструктура. Gets or sets a value that indicates whether the data source is modified since last preview.
Открытое свойство IsReference Инфраструктура. Gets or sets a value that indicates whether the data source is a reference.
Открытое свойство IsShared Инфраструктура. Gets or sets a value that indicates whether the data source is shared.
Открытое свойство Name Gets or sets the data source name.
Открытое свойство Parent The parent of this report object. (Производный от ReportObjectBase.)
Открытое свойство RunTimeCredentials Инфраструктура. Gets or sets the credentials at runtime time.
Открытое свойство SecurityType Gets or sets the authentication method of the data source.
Открытое свойство ShouldSaveCredentials Инфраструктура. Gets or sets a value that indicates whether data source should save credentials.
Открытое свойство Site Инфраструктура. Gets or sets the site associated with the ReportObject object. (Производный от ReportObject.)
Открытое свойство Transaction Gets or sets the value that indicates whether the datasets that use this data source run in a single transaction.
Открытое свойство WindowsCredentials Инфраструктура. Gets or sets a value that indicates whether to use windows credentials.

В начало

Методы

  Имя Описание
Открытый метод DeepClone Инфраструктура. Returns a deep clone of this data source. (Переопределяет ReportObject.DeepClone().)
Открытый метод Equals (Производный от Object.)
Защищенный метод Finalize (Производный от Object.)
Открытый метод GetContainingDataScopes Инфраструктура. Returns the list of report object that contains data scopes. (Производный от ReportObject.)
Защищенный метод GetDataScopesForDefaultImpl Инфраструктура. Returns the data scopes for default implementation. (Производный от ReportObject.)
Защищенный метод GetDependenciesCore Инфраструктура. Returns the dependencies core for the ReportObject object. (Производный от ReportObject.)
Открытый метод GetHashCode (Производный от Object.)
Открытый метод GetType (Производный от Object.)
Открытый метод Initialize Initializes the current DataSource instance. (Переопределяет ReportObject.Initialize().)
Защищенный метод InitializeForDesigner Инфраструктура. Initializes the report object for designer. (Производный от ReportObject.)
Защищенный метод MemberwiseClone (Производный от Object.)
Защищенный метод OnChildPropertyChanged Инфраструктура. Raises an event when the property of the child was changed. (Производный от ReportObject.)
Защищенный метод OnPropertyChanged Инфраструктура. Raises an event when the property was changed. (Производный от ReportObject.)
Защищенный метод RdlSemanticEqualsCore Инфраструктура. Indicates whether the RDL semantic is equal to the core objects. (Переопределяет ReportObject.RdlSemanticEqualsCore(ReportObject, ICollection<ReportObject>).)
Защищенный метод SavePropertyValue<T> Инфраструктура. Saves the property value of the report object. (Производный от ReportObject.)
Открытый метод SetCachedCredentials Инфраструктура. Sets the credentials from the cached.
Открытый метод ToString (Производный от Object.)

В начало

Явные реализации интерфейса

  Имя Описание
Явная реализация интерфейсаЗакрытый метод IDisposable.Dispose Инфраструктура. Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Производный от ReportObject.)
Явная реализация интерфейсаЗакрытое событие IComponent.Disposed Инфраструктура. Occurs when the ReportObject object is disposed. (Производный от ReportObject.)

В начало

Безопасность многопоточности

Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.

См. также

Справочник

Пространство имен Microsoft.ReportingServices.RdlObjectModel