Condividi tramite


Classe DataSourceCredentials

Represents a set of data source credentials.

Gerarchia di ereditarietà

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

Spazio dei nomi  Microsoft.ReportingServices.RdlObjectModel
Assembly:  Microsoft.ReportingServices.Designer.Controls (in Microsoft.ReportingServices.Designer.Controls.dll)

Sintassi

'Dichiarazione
<SerializableAttribute> _
Public NotInheritable Class DataSourceCredentials _
    Inherits ReportObject
'Utilizzo
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

Nel tipo DataSourceCredentials sono esposti i membri seguenti.

Costruttori

  Nome Descrizione
Metodo pubblico DataSourceCredentials() Infrastruttura. Initializes a new instance of the DataSourceCredentials class.
Metodo pubblico DataSourceCredentials(String, String) Infrastruttura. Initializes a new instance of the DataSourceCredentials class using the specified user name and password.

In alto

Proprietà

  Nome Descrizione
Proprietà pubblica ComponentMetadata Gets or sets the component metadata. Ereditato da ReportObject.
Proprietà pubblica EncryptedPassword Infrastruttura. Gets or sets the encrypted password of the data source.
Proprietà pubblica EncryptedUserName Infrastruttura. Gets or sets the encrypted user name of the data source.
Proprietà pubblica Parent The parent of this report object. Ereditato da ReportObjectBase.
Proprietà pubblica Password Infrastruttura. Gets or sets the password of the data source.
Proprietà pubblica Site Infrastruttura. Gets or sets the site associated with the ReportObject object. Ereditato da ReportObject.
Proprietà pubblica UserName Infrastruttura. Gets or sets the user name of the data source.

In alto

Metodi

  Nome Descrizione
Metodo pubblicoMembro statico CreateFromCiphertext Infrastruttura. Creates a DataSourceCredentials object from a cipher text.
Metodo pubblico DeepClone Infrastruttura. Returns a deep clone of this DataSourceCredentials instance. Esegue l'override di ReportObject.DeepClone().
Metodo pubblico Equals Ereditato da Object.
Metodo pubblico GetContainingDataScopes Infrastruttura. Returns the list of report object that contains data scopes. Ereditato da ReportObject.
Metodo pubblico GetHashCode Ereditato da Object.
Metodo pubblico GetType Ereditato da Object.
Metodo pubblico Initialize Infrastruttura. Initializes an instance of ReportObject. Ereditato da ReportObject.
Metodo protetto OnChildPropertyChanged Infrastruttura. Raises an event when the property of the child was changed. Ereditato da ReportObject.
Metodo protetto OnPropertyChanged Infrastruttura. Raises an event when the property was changed. Ereditato da ReportObject.
Metodo pubblico ToString Ereditato da Object.

In alto

Implementazioni esplicite dell'interfaccia

  Nome Descrizione
Implementazione esplicita dell'interfacciaMetodo privato IDisposable.Dispose Infrastruttura. Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. Ereditato da ReportObject.
Implementazione esplicita dell'interfacciaEvento privato IComponent.Disposed Infrastruttura. Occurs when the ReportObject object is disposed. Ereditato da ReportObject.

In alto

Protezione dei thread

I membri static (Shared in Visual Basic) pubblici di questo tipo sono affidabili. Non è invece garantita la sicurezza dei membri dell'istanza.

Vedere anche

Riferimento

Spazio dei nomi Microsoft.ReportingServices.RdlObjectModel