DataSourceCredentials 類別
Represents data source credentials.
繼承階層
System. . :: . .Object
ReportService2006..::..DataSourceCredentials
命名空間: ReportService2006
組件: ReportService2006 (在 ReportService2006.dll 中)
語法
'宣告
<SerializableAttribute> _
Public Class DataSourceCredentials
'用途
Dim instance As DataSourceCredentials
[SerializableAttribute]
public class DataSourceCredentials
[SerializableAttribute]
public ref class DataSourceCredentials
[<SerializableAttribute>]
type DataSourceCredentials = class end
public class DataSourceCredentials
DataSourceCredentials 型別公開下列成員。
屬性
名稱 | 說明 | |
---|---|---|
![]() |
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. |
上層
方法
名稱 | 說明 | |
---|---|---|
![]() |
Equals | (繼承自 Object。) |
![]() |
Finalize | (繼承自 Object。) |
![]() |
GetHashCode | (繼承自 Object。) |
![]() |
GetType | (繼承自 Object。) |
![]() |
MemberwiseClone | (繼承自 Object。) |
![]() |
ToString | (繼承自 Object。) |
上層
備註
Use the DataSourceCredentials class together with the GetReportParameters(String, String, Boolean, array<ParameterValue>[]()[][], array<DataSourceCredentials>[]()[][]) method to pass credentials to an external data source.
執行緒安全性
這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。