DataSourceCredentials-Klasse

Represents data source credentials.

Vererbungshierarchie

System. . :: . .Object
  ReportService2006..::..DataSourceCredentials

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

Syntax

'Declaration
<SerializableAttribute> _
Public Class DataSourceCredentials
'Usage
Dim instance As DataSourceCredentials
[SerializableAttribute]
public class DataSourceCredentials
[SerializableAttribute]
public ref class DataSourceCredentials
[<SerializableAttribute>]
type DataSourceCredentials =  class end
public class DataSourceCredentials

Der DataSourceCredentials-Typ macht folgende Elemente verfügbar.

Konstruktoren

  Name Beschreibung
Öffentliche Methode DataSourceCredentials Initializes a new instance of the DataSourceCredentials class.

Zum Anfang

Eigenschaften

  Name Beschreibung
Öffentliche Eigenschaft DataSourceName Sets the name of the data source to which to pass credentials.
Öffentliche Eigenschaft Password Sets the password the report server uses to connect to a data source.
Öffentliche Eigenschaft UserName Sets the user name the report server uses to connect to a data source.

Zum Anfang

Methoden

  Name Beschreibung
Öffentliche Methode Equals (Geerbt von Object.)
Geschützte Methode Finalize (Geerbt von Object.)
Öffentliche Methode GetHashCode (Geerbt von Object.)
Öffentliche Methode GetType (Geerbt von Object.)
Geschützte Methode MemberwiseClone (Geerbt von Object.)
Öffentliche Methode ToString (Geerbt von Object.)

Zum Anfang

Hinweise

Use the DataSourceCredentials class together with the GetReportParameters(String, String, Boolean, array<ParameterValue>[]()[][], array<DataSourceCredentials>[]()[][]) method to pass credentials to an external data source.

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic)-Elemente dieses Typs sind Threadsicher. Für Instanzelemente wird die Threadsicherheit nicht gewährleistet.

Siehe auch

Verweis