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 | |
---|---|---|
![]() |
DataSourceCredentials | Constructs a DataSourceCredentials object. |
Początek
Właściwości
Nazwa | Opis | |
---|---|---|
![]() |
Name | Gets or sets the user name to be used by the data source for connecting to a report server. |
![]() |
Password | Gets or sets the password to be used by the data source for connecting to the report server. |
![]() |
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 | |
---|---|---|
![]() |
Equals | Determines whether the specified object is equal to the current object. (Odziedziczone z Object). |
![]() |
GetHashCode | Serves as the default hash function. (Odziedziczone z Object). |
![]() |
GetType | Gets the Type of the current instance. (Odziedziczone z Object). |
![]() |
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.