ReportServerCredentials 類別

Specifies the credentials for the ReportViewer control to use when connecting to a report server.

命名空間: Microsoft.Reporting.WinForms
組件: Microsoft.ReportViewer.WinForms (在 microsoft.reportviewer.winforms.dll)

語法

備註

By default, the ReportViewer control uses the default Windows identity to connect to the report server. The ReportServerCredentials class is implemented as a property of the ReportViewer control and can be used to provide custom authentication for connecting to the report server.

繼承階層

System.Object
  Microsoft.Reporting.WinForms.ReportServerCredentials

執行緒安全性

任何公用靜態 (共用 在 Visual Basic) 此型別的成員具備執行緒安全。不保證任何執行個體成員安全執行緒。

另請參閱

參考

ReportServerCredentials 成員
Microsoft.Reporting.WinForms 命名空間