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 class DataSourceCredentials

The DataSourceCredentials type exposes the following members.

  Name Description
Public method DataSourceCredentials Initializes a new instance of the DataSourceCredentials class.
Top
  Name Description
Public property DataSourceName Sets the name of the data source to which to pass credentials.
Public property Password Sets the password the report server uses to connect to a data source.
Public property UserName Sets the user name the report server uses to connect to a data source.
Top
  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.)
Top

Use the DataSourceCredentials class together with the ReportService2010.ReportingService2010.GetReportParameters(System.String,System.String,System.Boolean,ReportService2010.ParameterValue[],ReportService2010.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)
Community Content Add
Annotations FAQ