Export (0) Print
Expand All

DataSourceCredentials Class

Represents data source credentials.

Object
  ReportExecution2005.DataSourceCredentials

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

public class DataSourceCredentials

The DataSourceCredentials type exposes the following members.

  NameDescription
Public methodDataSourceCredentialsInitializes a new instance of the DataSourceCredentials class.
Top

  NameDescription
Public propertyDataSourceNameGets or sets the name of the data source to which to pass credentials. String.
Public propertyPasswordGets or sets the password that the report server uses to connect to an external data source.
Public propertyUserNameGets or sets the user name that the report server uses to connect to an external data source.
Top

  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top

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

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft