Share via


DataSourceCredentials Class

Definition

Represents data source credentials.

public ref class DataSourceCredentials
public class DataSourceCredentials
type DataSourceCredentials = class
Public Class DataSourceCredentials
Inheritance
DataSourceCredentials

Remarks

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

Constructors

DataSourceCredentials()

Initializes a new instance of the DataSourceCredentials class.

Properties

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.

Applies to