Classe DataSourceCredentials
Represents data source credentials.
Hierarquia de herança
Object
Microsoft.Reporting.WebForms.DataSourceCredentials
Namespace: Microsoft.Reporting.WebForms
Assembly: Microsoft.ReportViewer.WebForms (em Microsoft.ReportViewer.WebForms.dll)
Sintaxe
'Declaração
Public NotInheritable Class DataSourceCredentials
public sealed class DataSourceCredentials
public ref class DataSourceCredentials sealed
[<Sealed>]
type DataSourceCredentials = class end
public final class DataSourceCredentials
O tipo DataSourceCredentials expõe os membros a seguir.
Construtores
Nome | Descrição | |
---|---|---|
DataSourceCredentials | Constructs a DataSourceCredentials object. |
Superior
Propriedades
Nome | Descrição | |
---|---|---|
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. |
Superior
Métodos
Nome | Descrição | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Herdado de Object.) | |
GetHashCode | Serves as the default hash function. (Herdado de Object.) | |
GetType | Gets the Type of the current instance. (Herdado de Object.) | |
ToString | Returns a string that represents the current object. (Herdado de Object.) |
Superior
Comentários
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.
Acesso thread-safe
Quaisquer membros estático (Shared no Visual Basic) públicos deste tipo são thread-safe. Não há garantia de que qualquer membro de instância seja thread-safe.