DataSourceCredentials 建構函式 (String, String)
此 API 支援 基礎結構,但無法直接從您的程式碼使用。
命名空間: Microsoft.ReportingServices.RdlObjectModel
組件: Microsoft.ReportingServices.Designer.Controls (在 Microsoft.ReportingServices.Designer.Controls.dll 中)
語法
'宣告
Public Sub New ( _
userName As String, _
password As String _
)
'用途
Dim userName As String
Dim password As String
Dim instance As New DataSourceCredentials(userName, _
password)
public DataSourceCredentials(
string userName,
string password
)
public:
DataSourceCredentials(
String^ userName,
String^ password
)
new :
userName:string *
password:string -> DataSourceCredentials
public function DataSourceCredentials(
userName : String,
password : String
)
參數
- userName
型別:System. . :: . .String
The user name.
- password
型別:System. . :: . .String
The password.