DataSourceCredentials-Klasse
Represents data source credentials.
Vererbungshierarchie
System.Object
ReportService2010.DataSourceCredentials
Namespace: ReportService2010
Assembly: ReportService2010 (in ReportService2010.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 | |
---|---|---|
DataSourceCredentials | Initializes a new instance of the DataSourceCredentials class. |
Zum Anfang
Eigenschaften
Name | Beschreibung | |
---|---|---|
DataSourceName | Sets the name of the data source to which to pass credentials. | |
Password | Sets the password the report server uses to connect to a data source. | |
UserName | Sets the user name the report server uses to connect to a data source. |
Zum Anfang
Methoden
Name | Beschreibung | |
---|---|---|
Equals | (Geerbt von Object.) | |
Finalize | (Geerbt von Object.) | |
GetHashCode | (Geerbt von Object.) | |
GetType | (Geerbt von Object.) | |
MemberwiseClone | (Geerbt von Object.) | |
ToString | (Geerbt von Object.) |
Zum Anfang
Hinweise
Use the DataSourceCredentials class together with the GetReportParameters(String, String, Boolean, ParameterValue, 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.