Condividi tramite


Classe DataSourceCredentials

Represents data source credentials.

Gerarchia di ereditarietà

System. . :: . .Object
  ReportService2006..::..DataSourceCredentials

Spazio dei nomi  ReportService2006
Assembly:  ReportService2006 (in ReportService2006.dll)

Sintassi

'Dichiarazione
<SerializableAttribute> _
Public Class DataSourceCredentials
'Utilizzo
Dim instance As DataSourceCredentials
[SerializableAttribute]
public class DataSourceCredentials
[SerializableAttribute]
public ref class DataSourceCredentials
[<SerializableAttribute>]
type DataSourceCredentials =  class end
public class DataSourceCredentials

Nel tipo DataSourceCredentials sono esposti i membri seguenti.

Costruttori

  Nome Descrizione
Metodo pubblico DataSourceCredentials Initializes a new instance of the DataSourceCredentials class.

In alto

Proprietà

  Nome Descrizione
Proprietà pubblica DataSourceName Sets the name of the data source to which to pass credentials.
Proprietà pubblica Password Sets the password the report server uses to connect to a data source.
Proprietà pubblica UserName Sets the user name the report server uses to connect to a data source.

In alto

Metodi

  Nome Descrizione
Metodo pubblico Equals Ereditato da Object.
Metodo protetto Finalize Ereditato da Object.
Metodo pubblico GetHashCode Ereditato da Object.
Metodo pubblico GetType Ereditato da Object.
Metodo protetto MemberwiseClone Ereditato da Object.
Metodo pubblico ToString Ereditato da Object.

In alto

Osservazioni

Use the DataSourceCredentials class together with the GetReportParameters(String, String, Boolean, array<ParameterValue>[]()[][], array<DataSourceCredentials>[]()[][]) method to pass credentials to an external data source.

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