Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

DataSourceCredentials Class

Represents data source credentials.


Namespace:  ReportService2010
Assembly:  ReportService2010 (in ReportService2010.dll)
<SerializableAttribute> _
Public Class DataSourceCredentials
Dim instance As DataSourceCredentials

The DataSourceCredentials type exposes the following members.

Public methodDataSourceCredentialsInitializes a new instance of the DataSourceCredentials class.
Public propertyDataSourceNameSets the name of the data source to which to pass credentials.
Public propertyPasswordSets the password the report server uses to connect to a data source.
Public propertyUserNameSets the user name 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 together with the GetReportParameters(String, String, Boolean, ParameterValue(), DataSourceCredentials()) 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.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.