Classe DataSourceCredentials
Represents data source credentials.
Hierarquia de herança
System. . :: . .Object
ReportExecution2005..::..DataSourceCredentials
Namespace: ReportExecution2005
Assembly: ReportExecution2005 (em ReportExecution2005.dll)
Sintaxe
'Declaração
<SerializableAttribute> _
Public Class DataSourceCredentials
'Uso
Dim instance As DataSourceCredentials
[SerializableAttribute]
public class DataSourceCredentials
[SerializableAttribute]
public ref class DataSourceCredentials
[<SerializableAttribute>]
type DataSourceCredentials = class end
public class DataSourceCredentials
O tipo DataSourceCredentials expõe os membros a seguir.
Construtores
Nome | Descrição | |
---|---|---|
DataSourceCredentials | Initializes a new instance of the DataSourceCredentials class. |
Início
Propriedades
Nome | Descrição | |
---|---|---|
DataSourceName | Gets or sets the name of the data source to which to pass credentials. String. | |
Password | Gets or sets the password that the report server uses to connect to an external data source. | |
UserName | Gets or sets the user name that the report server uses to connect to an external data source. |
Início
Métodos
Nome | Descrição | |
---|---|---|
Equals | (Herdado de Object.) | |
Finalize | (Herdado de Object.) | |
GetHashCode | (Herdado de Object.) | |
GetType | (Herdado de Object.) | |
MemberwiseClone | (Herdado de Object.) | |
ToString | (Herdado de Object.) |
Início
Comentários
Use the DataSourceCredentials class with the SetExecutionCredentials or SetExecutionCredentials2 method to pass credentials to an external data source.
Segurança de thread
Qualquer membro público static (Shared no Visual Basic) desse tipo é seguro para threads. Não há garantia de que qualquer membro de instância seja seguro para threads.