Classe DataSourceCredentials
Represents data source credentials.
Hierarquia de herança
System. . :: . .Object
ReportService2010..::..DataSourceCredentials
Namespace: ReportService2010
Assembly: ReportService2010 (em ReportService2010.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 | Sets the name of the data source to which to pass credentials. | |
Password | Sets the password the report server uses to connect to a data source. | |
UserName | Sets the user name the report server uses to connect to a 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 together with the GetReportParameters(String, String, Boolean, array<ParameterValue>[]()[][], array<DataSourceCredentials>[]()[][]) 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.