Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

DataSourceCredentials Class

Represents data source credentials.


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

public class DataSourceCredentials

The DataSourceCredentials type exposes the following members.

Public methodDataSourceCredentialsInitializes a new instance of the DataSourceCredentials class.

Public propertyDataSourceNameGets or sets the name of the data source to which to pass credentials.
Public propertyPasswordGets or sets the password to use when connecting to a data source.
Public propertyUserNameGets or sets the user name that the report server uses to connect to a data source.

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.)

Use the DataSourceCredentials class with the Render 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

© 2015 Microsoft