DataSource Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a data source.
public ref class DataSource : Microsoft::ReportingServices::RdlObjectModel::ReportObject, Microsoft::ReportingServices::RdlObjectModel::INamedObject
[System.ComponentModel.TypeConverter(typeof(Microsoft.ReportingServices.RdlObjectModel.DataSource/DataSourceConverter))]
public class DataSource : Microsoft.ReportingServices.RdlObjectModel.ReportObject, Microsoft.ReportingServices.RdlObjectModel.INamedObject
[<System.ComponentModel.TypeConverter(typeof(Microsoft.ReportingServices.RdlObjectModel.DataSource/DataSourceConverter))>]
type DataSource = class
inherit ReportObject
interface INamedObject
Public Class DataSource
Inherits ReportObject
Implements INamedObject
- Inheritance
- Attributes
- Implements
Constructors
DataSource() |
Initializes a new instance of the DataSource class. |
Properties
ComponentMetadata |
Gets or sets the component metadata. (Inherited from 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. (Inherited from 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. (Inherited from 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. |
Methods
DeepClone() |
Returns a deep clone of this data source. |
GetContainingDataScopes() |
Returns the list of report object that contains data scopes. (Inherited from ReportObject) |
GetDataScopesForDefaultImpl(IContainedObject) |
Returns the data scopes for default implementation. (Inherited from ReportObject) |
GetDependenciesCore(IList<ReportObject>) |
Returns the dependencies core for the ReportObject object. (Inherited from ReportObject) |
Initialize() |
Initializes the current DataSource instance. |
InitializeForDesigner() |
Initializes the report object for designer. (Inherited from ReportObject) |
OnChildPropertyChanged(Int32, Object, Object) |
Raises an event when the property of the child was changed. (Inherited from ReportObject) |
OnPropertyChanged(Int32, Object, Object) |
Raises an event when the property was changed. (Inherited from ReportObject) |
RdlSemanticEqualsCore(ReportObject, ICollection<ReportObject>) |
Indicates whether the RDL semantic is equal to the core objects. |
SavePropertyValue<T>(String, T, ReportObject.SwapValue<T>) |
Saves the property value of the report object. (Inherited from ReportObject) |
SetCachedCredentials(CachedCredentials) |
Sets the credentials from the cached. |
Explicit Interface Implementations
IComponent.Disposed |
Occurs when the ReportObject object is disposed. (Inherited from ReportObject) |
IDisposable.Dispose() |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from ReportObject) |