DataSourceCredentials Class

Represents data source credentials.

Inheritance Hierarchy


Namespace:  ReportExecution2005
Assembly:  ReportExecution2005 (in ReportExecution2005.dll)


<SerializableAttribute> _
Public Class DataSourceCredentials
Dim instance As DataSourceCredentials
public class DataSourceCredentials
public ref class DataSourceCredentials
type DataSourceCredentials =  class end
public class DataSourceCredentials

The DataSourceCredentials type exposes the following members.


  Name Description
Public method DataSourceCredentials Initializes a new instance of the DataSourceCredentials class.



  Name Description
Public property DataSourceName Gets or sets the name of the data source to which to pass credentials. String.
Public property Password Gets or sets the password that the report server uses to connect to an external data source.
Public property UserName Gets or sets the user name that the report server uses to connect to an external data source.



  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)



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

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also