Udostępnij za pośrednictwem


Klasa ReportCredentialsEventArgs

Provides data for the SubmittingDataSourceCredentials event.

Hierarchia dziedziczenia

Object
  EventArgs
    CancelEventArgs
      Microsoft.Reporting.WebForms.ReportCredentialsEventArgs

Przestrzeń nazw:  Microsoft.Reporting.WebForms
Zestaw:  Microsoft.ReportViewer.WebForms (w Microsoft.ReportViewer.WebForms.dll)

Składnia

'Deklaracja
<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

Typ ReportCredentialsEventArgs uwidacznia następujące elementy członkowskie.

Właściwości

  Nazwa Opis
Właściwość publiczna Cancel Pobiera lub ustawia wartość określającą, czy zdarzenie powinno być anulowane. (Odziedziczone z CancelEventArgs).
Właściwość publiczna Credentials Gets a collection of DataSourceCredentials.

Początek

Metody

  Nazwa Opis
Metoda publiczna Equals Determines whether the specified object is equal to the current object. (Odziedziczone z Object).
Metoda chroniona Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Odziedziczone z Object).
Metoda publiczna GetHashCode Serves as the default hash function. (Odziedziczone z Object).
Metoda publiczna GetType Gets the Type of the current instance. (Odziedziczone z Object).
Metoda chroniona MemberwiseClone Creates a shallow copy of the current Object. (Odziedziczone z Object).
Metoda publiczna ToString Returns a string that represents the current object. (Odziedziczone z Object).

Początek

Uwagi

When passed into a ReportCredentialsEventHandler, an object of this class contains credentials that the user supplies in the credentials prompt area.

Bezpieczeństwo wątku

Wszystkie publiczne static (Shared w języku Visual Basic) elementy członkowskie tego typu są bezpieczne dla wątków. Wystąpienia elementów członkowskich nie dają gwarancji bezpieczeństwa wątków.

Zobacz też

Informacje

Przestrzeń nazw Microsoft.Reporting.WebForms