Partager via


Classe DataSourceCredentials

Represents a set of data source credentials.

Hiérarchie d'héritage

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

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

Syntaxe

'Déclaration
<SerializableAttribute> _
Public NotInheritable Class DataSourceCredentials _
    Inherits ReportObject
'Utilisation
Dim instance As DataSourceCredentials
[SerializableAttribute]
public sealed class DataSourceCredentials : ReportObject
[SerializableAttribute]
public ref class DataSourceCredentials sealed : public ReportObject
[<SealedAttribute>]
[<SerializableAttribute>]
type DataSourceCredentials =  
    class 
        inherit ReportObject 
    end
public final class DataSourceCredentials extends ReportObject

Le type DataSourceCredentials expose les membres suivants.

Constructeurs

  Nom Description
Méthode publique DataSourceCredentials() Infrastructure. Initializes a new instance of the DataSourceCredentials class.
Méthode publique DataSourceCredentials(String, String) Infrastructure. Initializes a new instance of the DataSourceCredentials class using the specified user name and password.

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 EncryptedPassword Infrastructure. Gets or sets the encrypted password of the data source.
Propriété publique EncryptedUserName Infrastructure. Gets or sets the encrypted user name of the data source.
Propriété publique Parent The parent of this report object. (hérité de ReportObjectBase.)
Propriété publique Password Infrastructure. Gets or sets the password of the data source.
Propriété publique Site Infrastructure. Gets or sets the site associated with the ReportObject object. (hérité de ReportObject.)
Propriété publique UserName Infrastructure. Gets or sets the user name of the data source.

Haut de la page

Méthodes

  Nom Description
Méthode publiqueMembre statique CreateFromCiphertext Infrastructure. Creates a DataSourceCredentials object from a cipher text.
Méthode publique DeepClone Infrastructure. Returns a deep clone of this DataSourceCredentials instance. (remplace ReportObject.DeepClone().)
Méthode publique Equals (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 publique GetHashCode (hérité de Object.)
Méthode publique GetType (hérité de Object.)
Méthode publique Initialize Infrastructure. Initializes an instance of ReportObject. (hérité de ReportObject.)
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 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