DataSource Class
Represents a data source.
Inheritance Hierarchy
System.Object
Microsoft.ReportingServices.RdlObjectModel.ReportObjectBase
Microsoft.ReportingServices.RdlObjectModel.ReportObject
Microsoft.ReportingServices.RdlObjectModel.DataSource
Namespace: Microsoft.ReportingServices.RdlObjectModel
Assembly: Microsoft.ReportingServices.Designer.Controls (in Microsoft.ReportingServices.Designer.Controls.dll)
Syntax
'Declaration
Public Class DataSource _
Inherits ReportObject _
Implements INamedObject
'Usage
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
The DataSource type exposes the following members.
Constructors
Name | Description | |
---|---|---|
DataSource | Initializes a new instance of the DataSource class. |
Top
Properties
Name | Description | |
---|---|---|
ComponentMetadata | Gets or sets the component metadata. (Inherited from ReportObject.) | |
ConnectionProperties | Gets or sets the connection properties. | |
Credentials | Infrastructure. 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 | Infrastructure. Gets or sets the credentials at design time. | |
ImpersonateUser | Infrastructure. Gets or sets a value that indicates whether to impersonate the user. | |
IsModel | Infrastructure. Gets or sets a value that indicates whether the data source is a model. | |
IsModified | Infrastructure. Gets or sets a value that indicates whether the data source is modified. | |
IsModifiedSincePreview | Infrastructure. Gets or sets a value that indicates whether the data source is modified since last preview. | |
IsReference | Infrastructure. Gets or sets a value that indicates whether the data source is a reference. | |
IsShared | Infrastructure. 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 | Infrastructure. Gets or sets the credentials at runtime time. | |
SecurityType | Gets or sets the authentication method of the data source. | |
ShouldSaveCredentials | Infrastructure. Gets or sets a value that indicates whether data source should save credentials. | |
Site | Infrastructure. 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 | Infrastructure. Gets or sets a value that indicates whether to use windows credentials. |
Top
Methods
Name | Description | |
---|---|---|
DeepClone | Infrastructure. Returns a deep clone of this data source. (Overrides ReportObject.DeepClone().) | |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetContainingDataScopes | Infrastructure. Returns the list of report object that contains data scopes. (Inherited from ReportObject.) | |
GetDataScopesForDefaultImpl | Infrastructure. Returns the data scopes for default implementation. (Inherited from ReportObject.) | |
GetDependenciesCore | Infrastructure. Returns the dependencies core for the ReportObject object. (Inherited from ReportObject.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
Initialize | Initializes the current DataSource instance. (Overrides ReportObject.Initialize().) | |
InitializeForDesigner | Infrastructure. Initializes the report object for designer. (Inherited from ReportObject.) | |
MemberwiseClone | (Inherited from Object.) | |
OnChildPropertyChanged | Infrastructure. Raises an event when the property of the child was changed. (Inherited from ReportObject.) | |
OnPropertyChanged | Infrastructure. Raises an event when the property was changed. (Inherited from ReportObject.) | |
RdlSemanticEqualsCore | Infrastructure. Indicates whether the RDL semantic is equal to the core objects. (Overrides ReportObject.RdlSemanticEqualsCore(ReportObject, ICollection<ReportObject>).) | |
SavePropertyValue<T> | Infrastructure. Saves the property value of the report object. (Inherited from ReportObject.) | |
SetCachedCredentials | Infrastructure. Sets the credentials from the cached. | |
ToString | (Inherited from Object.) |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
IDisposable.Dispose | Infrastructure. Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from ReportObject.) | |
IComponent.Disposed | Infrastructure. Occurs when the ReportObject object is disposed. (Inherited from ReportObject.) |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.