Partager via


Classe DataSource

Represents a data source.

Hiérarchie d'héritage

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

Espace de noms :  Microsoft.ReportingServices.RdlObjectModel
Assembly :  Microsoft.ReportingServices.Designer.Controls (en Microsoft.ReportingServices.Designer.Controls.dll)

Syntaxe

'Déclaration
Public Class DataSource _
    Inherits ReportObject _
    Implements INamedObject
'Utilisation
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

Le type DataSource expose les membres suivants.

Constructeurs

  Nom Description
Méthode publique DataSource Initializes a new instance of the DataSource class.

Haut de la page

Propriétés

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

Haut de la page

Méthodes

  Nom Description
Méthode publique DeepClone Infrastructure. Returns a deep clone of this data source. (remplace ReportObject.DeepClone().)
Méthode publique Equals (hérité de Object.)
Méthode protégée Finalize (hérité de Object.)
Méthode publique GetContainingDataScopes Infrastructure. Returns the list of report object that contains data scopes. (hérité de ReportObject.)
Méthode protégée GetDataScopesForDefaultImpl Infrastructure. Returns the data scopes for default implementation. (hérité de ReportObject.)
Méthode protégée GetDependenciesCore Infrastructure. Returns the dependencies core for the ReportObject object. (hérité de ReportObject.)
Méthode publique GetHashCode (hérité de Object.)
Méthode publique GetType (hérité de Object.)
Méthode publique Initialize Initializes the current DataSource instance. (remplace ReportObject.Initialize().)
Méthode protégée InitializeForDesigner Infrastructure. Initializes the report object for designer. (hérité de ReportObject.)
Méthode protégée MemberwiseClone (hérité de Object.)
Méthode protégée OnChildPropertyChanged Infrastructure. Raises an event when the property of the child was changed. (hérité de ReportObject.)
Méthode protégée OnPropertyChanged Infrastructure. Raises an event when the property was changed. (hérité de ReportObject.)
Méthode protégée RdlSemanticEqualsCore Infrastructure. Indicates whether the RDL semantic is equal to the core objects. (remplace ReportObject.RdlSemanticEqualsCore(ReportObject, ICollection<ReportObject>).)
Méthode protégée SavePropertyValue<T> Infrastructure. Saves the property value of the report object. (hérité de ReportObject.)
Méthode publique SetCachedCredentials Infrastructure. Sets the credentials from the cached.
Méthode publique ToString (hérité de Object.)

Haut de la page

Implémentations d'interfaces explicites

  Nom Description
Implémentation d'interface expliciteMéthode privée IDisposable.Dispose Infrastructure. Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (hérité de ReportObject.)
Implémentation d'interface expliciteÉvénement privé IComponent.Disposed Infrastructure. Occurs when the ReportObject object is disposed. (hérité de ReportObject.)

Haut de la page

Sécurité des threads

Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.

Voir aussi

Référence

Espace de noms Microsoft.ReportingServices.RdlObjectModel