Compartir a través de


Clase DataSource

Represents a data source.

Jerarquía de herencia

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

Espacio de nombres:  Microsoft.ReportingServices.RdlObjectModel
Ensamblado:  Microsoft.ReportingServices.Designer.Controls (en Microsoft.ReportingServices.Designer.Controls.dll)

Sintaxis

'Declaración
Public Class DataSource _
    Inherits ReportObject _
    Implements INamedObject
'Uso
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

El tipo DataSource expone los siguientes miembros.

Constructores

  Nombre Descripción
Método público DataSource Initializes a new instance of the DataSource class.

Arriba

Propiedades

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

Arriba

Métodos

  Nombre Descripción
Método público DeepClone Infraestructura. Returns a deep clone of this data source. (Invalida ReportObject.DeepClone().)
Método público Equals (Se hereda de Object.)
Método protegido Finalize (Se hereda de Object.)
Método público GetContainingDataScopes Infraestructura. Returns the list of report object that contains data scopes. (Se hereda de ReportObject.)
Método protegido GetDataScopesForDefaultImpl Infraestructura. Returns the data scopes for default implementation. (Se hereda de ReportObject.)
Método protegido GetDependenciesCore Infraestructura. Returns the dependencies core for the ReportObject object. (Se hereda de ReportObject.)
Método público GetHashCode (Se hereda de Object.)
Método público GetType (Se hereda de Object.)
Método público Initialize Initializes the current DataSource instance. (Invalida ReportObject.Initialize().)
Método protegido InitializeForDesigner Infraestructura. Initializes the report object for designer. (Se hereda de ReportObject.)
Método protegido MemberwiseClone (Se hereda de Object.)
Método protegido OnChildPropertyChanged Infraestructura. Raises an event when the property of the child was changed. (Se hereda de ReportObject.)
Método protegido OnPropertyChanged Infraestructura. Raises an event when the property was changed. (Se hereda de ReportObject.)
Método protegido RdlSemanticEqualsCore Infraestructura. Indicates whether the RDL semantic is equal to the core objects. (Invalida ReportObject.RdlSemanticEqualsCore(ReportObject, ICollection<ReportObject>).)
Método protegido SavePropertyValue<T> Infraestructura. Saves the property value of the report object. (Se hereda de ReportObject.)
Método público SetCachedCredentials Infraestructura. Sets the credentials from the cached.
Método público ToString (Se hereda de Object.)

Arriba

Implementaciones de interfaces explícitas

  Nombre Descripción
Implementación de interfaces explícitasMétodo privado IDisposable.Dispose Infraestructura. Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Se hereda de ReportObject.)
Implementación de interfaces explícitasEvento privado IComponent.Disposed Infraestructura. Occurs when the ReportObject object is disposed. (Se hereda de ReportObject.)

Arriba

Seguridad para subprocesos

Cualquier miembro público static (Shared en Visual Basic) de este tipo es seguro para subprocesos. No se garantiza que los miembros de instancia sean seguros para subprocesos.

Vea también

Referencia

Espacio de nombres Microsoft.ReportingServices.RdlObjectModel