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 | |
---|---|---|
![]() |
DataSource | Initializes a new instance of the DataSource class. |
Haut de la page
Propriétés
Nom | Description | |
---|---|---|
![]() |
ComponentMetadata | The component metadata. (hérité de ReportObject.) |
![]() |
ConnectionProperties | The connection properties. |
![]() |
Credentials | Infrastructure. |
![]() |
DataSourceID | The data source ID. |
![]() |
DataSourceReference | The path to a shared data source. |
![]() |
DesignTimeCredentials | Infrastructure. |
![]() |
ImpersonateUser | Infrastructure. |
![]() |
IsModel | Infrastructure. |
![]() |
IsModified | Infrastructure. |
![]() |
IsModifiedSincePreview | Infrastructure. |
![]() |
IsReference | Infrastructure. |
![]() |
IsShared | Infrastructure. |
![]() |
Name | The data source name. |
![]() |
Parent | The parent of this report object. (hérité de ReportObjectBase.) |
![]() |
RunTimeCredentials | Infrastructure. |
![]() |
SecurityType | The authentication method of the data source. |
![]() |
ShouldSaveCredentials | Infrastructure. |
![]() |
Site | Infrastructure. (hérité de ReportObject.) |
![]() |
Transaction | Indicates whether the datasets that use this data source run in a single transaction. |
![]() |
WindowsCredentials | Infrastructure. |
Haut de la page
Méthodes
Haut de la page
Implémentations d'interfaces explicites
Nom | Description | |
---|---|---|
![]() ![]() |
IDisposable. . :: . .Dispose | (hérité de ReportObject.) |
![]() ![]() |
IComponent. . :: . .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.