Поделиться через


Класс DataSourceCredentials

Represents data source credentials.

Иерархия наследования

System.Object
  ReportExecution2005.DataSourceCredentials

Пространство имен:  ReportExecution2005
Сборка:  ReportExecution2005 (в ReportExecution2005.dll)

Синтаксис

'Декларация
Public Class DataSourceCredentials
'Применение
Dim instance As DataSourceCredentials
public class DataSourceCredentials
public ref class DataSourceCredentials
type DataSourceCredentials =  class end
public class DataSourceCredentials

Тип DataSourceCredentials обеспечивает доступ к следующим элементам.

Конструкторы

  Имя Описание
Открытый метод DataSourceCredentials Initializes a new instance of the DataSourceCredentials class.

В начало

Свойства

  Имя Описание
Открытое свойство 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.

В начало

Методы

  Имя Описание
Открытый метод Equals (Производный от Object.)
Защищенный метод Finalize (Производный от Object.)
Открытый метод GetHashCode (Производный от Object.)
Открытый метод GetType (Производный от Object.)
Защищенный метод MemberwiseClone (Производный от Object.)
Открытый метод ToString (Производный от Object.)

В начало

Замечания

Use the DataSourceCredentials class with the SetExecutionCredentials or SetExecutionCredentials2 method to pass credentials to an external data source.

Безопасность многопоточности

Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.

См. также

Справочник

Пространство имен ReportExecution2005