Partilhar via


Interface IReportServerConnection

Provides report server connection information when the ReportViewer Web forms control is used with no session state.

Namespace:  Microsoft.Reporting.WebForms
Assembly:  Microsoft.ReportViewer.WebForms (em Microsoft.ReportViewer.WebForms.dll)

Sintaxe

'Declaração
Public Interface IReportServerConnection _
    Inherits IReportServerCredentials
public interface IReportServerConnection : IReportServerCredentials
public interface class IReportServerConnection : IReportServerCredentials
type IReportServerConnection =  
    interface
        interface IReportServerCredentials
    end
public interface IReportServerConnection extends IReportServerCredentials

O tipo IReportServerConnection expõe os membros a seguir.

Propriedades

  Nome Descrição
Propriedade pública ImpersonationUser Gets or sets the WindowsIdentity of the user to impersonate when the ReportViewer control connects to a report server. (Herdado de IReportServerCredentials.)
Propriedade pública NetworkCredentials Gets or sets the network credentials that are used for authentication with the report server. (Herdado de IReportServerCredentials.)
Propriedade pública ReportServerUrl Returns the URL of the report server.
Propriedade pública Timeout Gets the number of milliseconds to wait for server communications.

Superior

Métodos

  Nome Descrição
Método público GetFormsCredentials Provides information that will be used to connect to the report server that is configured for forms authentication. (Herdado de IReportServerCredentials.)

Superior

Comentários

You can implement this interface to provide connection information when using the ReportViewer Web forms control with no session state. The ReportViewer control's session state usage is configured in the Web.config settings file.

Consulte também

Referência

Namespace Microsoft.Reporting.WebForms

Outros recursos

Configurações de Web.config para ReportViewer