为 SubmittingDataSourceCredentials 事件提供数据。
继承层次结构
Object
EventArgs
CancelEventArgs
Microsoft.Reporting.WinForms.ReportCredentialsEventArgs
命名空间: Microsoft.Reporting.WinForms
程序集: Microsoft.ReportViewer.WinForms(在 Microsoft.ReportViewer.WinForms.dll 中)
语法
声明
<ComVisibleAttribute(False)> _
Public Class ReportCredentialsEventArgs _
Inherits CancelEventArgs
[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 | 获取当前实例的 Type。 (继承自 Object。) |
![]() |
MemberwiseClone | 创建当前 Object 的浅表副本。 (继承自 Object。) |
![]() |
ToString | 返回表示当前对象的字符串。 (继承自 Object。) |
页首
备注
当传递到 ReportCredentialsEventHandler 时,此类的对象包含用户在凭据提示区域中提供的凭据。
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。但不保证所有实例成员都是线程安全的。