Specifies the credentials for the ReportViewer control to use when connecting to a report server.
Namespace: Microsoft.Reporting.WinForms
Assembly: Microsoft.ReportViewer.WinForms (in microsoft.reportviewer.winforms.dll)

Syntax
Visual Basic (Declaration)
Public NotInheritable Class ReportServerCredentials
Implements IReportServerCredentials
Dim instance As ReportServerCredentials
public sealed class ReportServerCredentials : IReportServerCredentials
public ref class ReportServerCredentials sealed : IReportServerCredentials
public final class ReportServerCredentials implements IReportServerCredentials
public final class ReportServerCredentials implements IReportServerCredentials

Remarks
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.

Inheritance Hierarchy
System.Object Microsoft.Reporting.WinForms.ReportServerCredentials

Thread Safety
Any public static (
Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also