ReportCredentialsEventArgs.Credentials 属性
获取 DataSourceCredentials 的集合。
命名空间: Microsoft.Reporting.WebForms
程序集: Microsoft.ReportViewer.WebForms(在 Microsoft.ReportViewer.WebForms.dll 中)
语法
声明
Public ReadOnly Property Credentials As DataSourceCredentialsCollection
Get
用法
Dim instance As ReportCredentialsEventArgs
Dim value As DataSourceCredentialsCollection
value = instance.Credentials
public DataSourceCredentialsCollection Credentials { get; }
public:
property DataSourceCredentialsCollection^ Credentials {
DataSourceCredentialsCollection^ get ();
}
member Credentials : DataSourceCredentialsCollection
function get Credentials () : DataSourceCredentialsCollection
属性值
类型:Microsoft.Reporting.WebForms.DataSourceCredentialsCollection
DataSourceCredentials 对象的集合。
注释
默认情况下,此属性包含用户在凭据提示区域中提供的凭据。虽然它是只读的,但是可以在凭据提交到服务器(当处理 SubmittingDataSourceCredentials 事件时)之前修改集合属性中的 DataSourceCredentials 对象。