Freigeben über


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
Öffentliche Methode DataSource Initializes a new instance of the DataSource class.

Zum Anfang

Eigenschaften

  Name Beschreibung
Öffentliche Eigenschaft ComponentMetadata Gets or sets the component metadata. (Geerbt von ReportObject.)
Öffentliche Eigenschaft ConnectionProperties Gets or sets the connection properties.
Öffentliche Eigenschaft Credentials Infrastruktur Gets or sets the data source credentials.
Öffentliche Eigenschaft DataSourceID Gets or sets the data source ID.
Öffentliche Eigenschaft DataSourceReference Gets or sets the path to a shared data source.
Öffentliche Eigenschaft DesignTimeCredentials Infrastruktur Gets or sets the credentials at design time.
Öffentliche Eigenschaft ImpersonateUser Infrastruktur Gets or sets a value that indicates whether to impersonate the user.
Öffentliche Eigenschaft IsModel Infrastruktur Gets or sets a value that indicates whether the data source is a model.
Öffentliche Eigenschaft IsModified Infrastruktur Gets or sets a value that indicates whether the data source is modified.
Öffentliche Eigenschaft IsModifiedSincePreview Infrastruktur Gets or sets a value that indicates whether the data source is modified since last preview.
Öffentliche Eigenschaft IsReference Infrastruktur Gets or sets a value that indicates whether the data source is a reference.
Öffentliche Eigenschaft IsShared Infrastruktur Gets or sets a value that indicates whether the data source is shared.
Öffentliche Eigenschaft Name Gets or sets the data source name.
Öffentliche Eigenschaft Parent The parent of this report object. (Geerbt von ReportObjectBase.)
Öffentliche Eigenschaft RunTimeCredentials Infrastruktur Gets or sets the credentials at runtime time.
Öffentliche Eigenschaft SecurityType Gets or sets the authentication method of the data source.
Öffentliche Eigenschaft ShouldSaveCredentials Infrastruktur Gets or sets a value that indicates whether data source should save credentials.
Öffentliche Eigenschaft Site Infrastruktur Gets or sets the site associated with the ReportObject object. (Geerbt von ReportObject.)
Öffentliche Eigenschaft Transaction Gets or sets the value that indicates whether the datasets that use this data source run in a single transaction.
Öffentliche Eigenschaft WindowsCredentials Infrastruktur Gets or sets a value that indicates whether to use windows credentials.

Zum Anfang

Methoden

  Name Beschreibung
Öffentliche Methode DeepClone Infrastruktur Returns a deep clone of this data source. (Überschreibt ReportObject.DeepClone().)
Öffentliche Methode Equals (Geerbt von Object.)
Geschützte Methode Finalize (Geerbt von Object.)
Öffentliche Methode GetContainingDataScopes Infrastruktur Returns the list of report object that contains data scopes. (Geerbt von ReportObject.)
Geschützte Methode GetDataScopesForDefaultImpl Infrastruktur Returns the data scopes for default implementation. (Geerbt von ReportObject.)
Geschützte Methode GetDependenciesCore Infrastruktur Returns the dependencies core for the ReportObject object. (Geerbt von ReportObject.)
Öffentliche Methode GetHashCode (Geerbt von Object.)
Öffentliche Methode GetType (Geerbt von Object.)
Öffentliche Methode Initialize Initializes the current DataSource instance. (Überschreibt ReportObject.Initialize().)
Geschützte Methode InitializeForDesigner Infrastruktur Initializes the report object for designer. (Geerbt von ReportObject.)
Geschützte Methode MemberwiseClone (Geerbt von Object.)
Geschützte Methode OnChildPropertyChanged Infrastruktur Raises an event when the property of the child was changed. (Geerbt von ReportObject.)
Geschützte Methode OnPropertyChanged Infrastruktur Raises an event when the property was changed. (Geerbt von ReportObject.)
Geschützte Methode RdlSemanticEqualsCore Infrastruktur Indicates whether the RDL semantic is equal to the core objects. (Überschreibt ReportObject.RdlSemanticEqualsCore(ReportObject, ICollection<ReportObject>).)
Geschützte Methode SavePropertyValue<T> Infrastruktur Saves the property value of the report object. (Geerbt von ReportObject.)
Öffentliche Methode SetCachedCredentials Infrastruktur Sets the credentials from the cached.
Öffentliche Methode ToString (Geerbt von Object.)

Zum Anfang

Explizite Schnittstellenimplementierungen

  Name Beschreibung
Explizite SchnittstellenimplementierungPrivate Methode IDisposable.Dispose Infrastruktur Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Geerbt von ReportObject.)
Explizite SchnittstellenimplementierungPrivates Ereignis 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.

Siehe auch

Verweis

Microsoft.ReportingServices.RdlObjectModel-Namespace