Udostępnij za pośrednictwem


Klasa DataSourceCredentials

Represents data source credentials.

Hierarchia dziedziczenia

Object
  Microsoft.Reporting.WinForms.DataSourceCredentials

Przestrzeń nazw:  Microsoft.Reporting.WinForms
Zestaw:  Microsoft.ReportViewer.WinForms (w Microsoft.ReportViewer.WinForms.dll)

Składnia

'Deklaracja
Public NotInheritable Class DataSourceCredentials
public sealed class DataSourceCredentials
public ref class DataSourceCredentials sealed
[<Sealed>]
type DataSourceCredentials =  class end
public final class DataSourceCredentials

Typ DataSourceCredentials uwidacznia następujące elementy członkowskie.

Konstruktorzy

  Nazwa Opis
Metoda publiczna DataSourceCredentials Constructs a DataSourceCredentials object.

Początek

Właściwości

  Nazwa Opis
Właściwość publiczna Name Gets or sets the user name to be used by the data source for connecting to a report server.
Właściwość publiczna Password Gets or sets the password to be used by the data source for connecting to the report server.
Właściwość publiczna UserId Gets or sets the user identification to be used by the data source for connecting to the report server.

Początek

Metody

  Nazwa Opis
Metoda publiczna Equals Determines whether the specified object is equal to the current object. (Odziedziczone z Object).
Metoda publiczna GetHashCode Serves as the default hash function. (Odziedziczone z Object).
Metoda publiczna GetType Gets the Type of the current instance. (Odziedziczone z Object).
Metoda publiczna ToString Returns a string that represents the current object. (Odziedziczone z Object).

Początek

Uwagi

This class is used to provide credentials for data sources used by server reports and is passed as an argument to the SetDataSourceCredentials method of the ServerReport class.

Bezpieczeństwo wątku

Wszystkie publiczne static (Shared w języku Visual Basic) elementy członkowskie tego typu są bezpieczne dla wątków. Wystąpienia elementów członkowskich nie dają gwarancji bezpieczeństwa wątków.

Zobacz też

Informacje

Przestrzeń nazw Microsoft.Reporting.WinForms