DataSource-Klasse
Represents a data source.
Vererbungshierarchie
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
Der DataSource-Typ macht folgende Elemente verfügbar.
Konstruktoren
Name | Beschreibung | |
---|---|---|
DataSource | Initializes a new instance of the DataSource class. |
Zum Anfang
Eigenschaften
Name | Beschreibung | |
---|---|---|
ComponentMetadata | Gets or sets the component metadata. (Geerbt von ReportObject.) | |
ConnectionProperties | Gets or sets the connection properties. | |
Credentials | Infrastruktur 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 | Infrastruktur Gets or sets the credentials at design time. | |
ImpersonateUser | Infrastruktur Gets or sets a value that indicates whether to impersonate the user. | |
IsModel | Infrastruktur Gets or sets a value that indicates whether the data source is a model. | |
IsModified | Infrastruktur Gets or sets a value that indicates whether the data source is modified. | |
IsModifiedSincePreview | Infrastruktur Gets or sets a value that indicates whether the data source is modified since last preview. | |
IsReference | Infrastruktur Gets or sets a value that indicates whether the data source is a reference. | |
IsShared | Infrastruktur 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. (Geerbt von ReportObjectBase.) | |
RunTimeCredentials | Infrastruktur Gets or sets the credentials at runtime time. | |
SecurityType | Gets or sets the authentication method of the data source. | |
ShouldSaveCredentials | Infrastruktur Gets or sets a value that indicates whether data source should save credentials. | |
Site | Infrastruktur Gets or sets the site associated with the ReportObject object. (Geerbt von ReportObject.) | |
Transaction | Gets or sets the value that indicates whether the datasets that use this data source run in a single transaction. | |
WindowsCredentials | Infrastruktur Gets or sets a value that indicates whether to use windows credentials. |
Zum Anfang
Methoden
Name | Beschreibung | |
---|---|---|
DeepClone | Infrastruktur Returns a deep clone of this data source. (Überschreibt ReportObject.DeepClone().) | |
Equals | (Geerbt von Object.) | |
Finalize | (Geerbt von Object.) | |
GetContainingDataScopes | Infrastruktur Returns the list of report object that contains data scopes. (Geerbt von ReportObject.) | |
GetDataScopesForDefaultImpl | Infrastruktur Returns the data scopes for default implementation. (Geerbt von ReportObject.) | |
GetDependenciesCore | Infrastruktur Returns the dependencies core for the ReportObject object. (Geerbt von ReportObject.) | |
GetHashCode | (Geerbt von Object.) | |
GetType | (Geerbt von Object.) | |
Initialize | Initializes the current DataSource instance. (Überschreibt ReportObject.Initialize().) | |
InitializeForDesigner | Infrastruktur Initializes the report object for designer. (Geerbt von ReportObject.) | |
MemberwiseClone | (Geerbt von Object.) | |
OnChildPropertyChanged | Infrastruktur Raises an event when the property of the child was changed. (Geerbt von ReportObject.) | |
OnPropertyChanged | Infrastruktur Raises an event when the property was changed. (Geerbt von ReportObject.) | |
RdlSemanticEqualsCore | Infrastruktur Indicates whether the RDL semantic is equal to the core objects. (Überschreibt ReportObject.RdlSemanticEqualsCore(ReportObject, ICollection<ReportObject>).) | |
SavePropertyValue<T> | Infrastruktur Saves the property value of the report object. (Geerbt von ReportObject.) | |
SetCachedCredentials | Infrastruktur Sets the credentials from the cached. | |
ToString | (Geerbt von Object.) |
Zum Anfang
Explizite Schnittstellenimplementierungen
Name | Beschreibung | |
---|---|---|
IDisposable.Dispose | Infrastruktur Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Geerbt von ReportObject.) | |
IComponent.Disposed | Infrastruktur Occurs when the ReportObject object is disposed. (Geerbt von ReportObject.) |
Zum Anfang
Threadsicherheit
Alle öffentlichen static (Shared in Visual Basic)-Elemente dieses Typs sind Threadsicher. Für Instanzelemente wird die Threadsicherheit nicht gewährleistet.