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

DataSourceCredentials Class

Represents data source credentials.

System::Object
  ReportService2010::DataSourceCredentials

Namespace:  ReportService2010
Assembly:  ReportService2010 (in ReportService2010.dll)
[SerializableAttribute]
public ref class DataSourceCredentials

The DataSourceCredentials type exposes the following members.

  NameDescription
Public methodDataSourceCredentialsInitializes a new instance of the DataSourceCredentials class.
Top
  NameDescription
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.
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 together with the GetReportParameters(String, String, Boolean, array<ParameterValue>, array<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

ADD
Show:
© 2014 Microsoft. All rights reserved.