Condividi tramite


Classe PercentCompleteEventArgs

Represents the arguments passed by the event raised when a process reaches a percent complete marker.

Gerarchia di ereditarietà

System.Object
  System.EventArgs
    Microsoft.SqlServer.Management.Common.ServerMessageEventArgs
      Microsoft.SqlServer.Management.Smo.PercentCompleteEventArgs

Spazio dei nomi  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.SmoExtended (in Microsoft.SqlServer.SmoExtended.dll)

Sintassi

'Dichiarazione
Public NotInheritable Class PercentCompleteEventArgs _
    Inherits ServerMessageEventArgs
'Utilizzo
Dim instance As PercentCompleteEventArgs
public sealed class PercentCompleteEventArgs : ServerMessageEventArgs
public ref class PercentCompleteEventArgs sealed : public ServerMessageEventArgs
[<SealedAttribute>]
type PercentCompleteEventArgs =  
    class 
        inherit ServerMessageEventArgs 
    end
public final class PercentCompleteEventArgs extends ServerMessageEventArgs

Nel tipo PercentCompleteEventArgs sono esposti i membri seguenti.

Proprietà

  Nome Descrizione
Proprietà pubblica Error Gets the error associated with the server message event. Ereditato da ServerMessageEventArgs.
Proprietà pubblica Message Gets the message for the PercentCompleteEventArgs.
Proprietà pubblica Percent Gets the percentage value amount that when used in integer multiples, and marks the point at which to report progress.

In alto

Metodi

  Nome Descrizione
Metodo pubblico Equals Ereditato da Object.
Metodo pubblico GetHashCode Ereditato da Object.
Metodo pubblico GetType Ereditato da Object.
Metodo pubblico ToString Returns a String that represents the ServerMessageEventArgs object. Ereditato da ServerMessageEventArgs.

In alto

Osservazioni

The PercentCompleteEventArgs object is used by the Backup class and the Restore class to report progress.

Thread Safety

Tutti i membri statici pubblici (Shared in Microsoft Visual Basic) di questo tipo sono sicuri per le operazioni a thread multipli. Non è invece garantita la sicurezza dei membri dell'istanza.

Protezione dei thread

I membri static (Shared in Visual Basic) pubblici di questo tipo sono affidabili. Non è invece garantita la sicurezza dei membri dell'istanza.

Vedere anche

Riferimento

Spazio dei nomi Microsoft.SqlServer.Management.Smo

Altre risorse

Gestione degli eventi SMO