共用方式為


ReportCredentialsEventArgs 類別

提供 SubmittingDataSourceCredentials 事件的資料。

繼承階層

System.Object
  System.EventArgs
    System.ComponentModel.CancelEventArgs
      Microsoft.Reporting.WebForms.ReportCredentialsEventArgs

命名空間:  Microsoft.Reporting.WebForms
組件:  Microsoft.ReportViewer.WebForms (在 Microsoft.ReportViewer.WebForms.dll 中)

語法

'宣告
<ComVisibleAttribute(False)> _
Public Class ReportCredentialsEventArgs _
    Inherits CancelEventArgs
'用途
Dim instance As ReportCredentialsEventArgs
[ComVisibleAttribute(false)]
public class ReportCredentialsEventArgs : CancelEventArgs
[ComVisibleAttribute(false)]
public ref class ReportCredentialsEventArgs : public CancelEventArgs
[<ComVisibleAttribute(false)>]
type ReportCredentialsEventArgs =  
    class
        inherit CancelEventArgs
    end
public class ReportCredentialsEventArgs extends CancelEventArgs

ReportCredentialsEventArgs 型別公開下列成員。

屬性

  名稱 說明
公用屬性 Cancel (繼承自 CancelEventArgs。)
公用屬性 Credentials 取得 DataSourceCredentials 的集合。

上層

方法

  名稱 說明
公用方法 Equals (繼承自 Object。)
受保護的方法 Finalize (繼承自 Object。)
公用方法 GetHashCode (繼承自 Object。)
公用方法 GetType (繼承自 Object。)
受保護的方法 MemberwiseClone (繼承自 Object。)
公用方法 ToString (繼承自 Object。)

上層

備註

當傳入 ReportCredentialsEventHandler 時,這個類別的物件會包含使用者在認證提示區域中所提供的認證。

執行緒安全性

這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。

請參閱

參考

Microsoft.Reporting.WebForms 命名空間