Freigeben über


ProgressReportEventArgs-Klasse

The ProgressReportEventArgs object provides programmatic access to the arguments used to report the progress of an operation that works through an object hierarchy, such as discovering dependencies in scripting operations.

Vererbungshierarchie

System.Object
  System.EventArgs
    Microsoft.SqlServer.Management.Smo.ProgressReportEventArgs

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public Class ProgressReportEventArgs _
    Inherits EventArgs
'Usage
Dim instance As ProgressReportEventArgs
public class ProgressReportEventArgs : EventArgs
public ref class ProgressReportEventArgs : public EventArgs
type ProgressReportEventArgs =  
    class 
        inherit EventArgs 
    end
public class ProgressReportEventArgs extends EventArgs

Der ProgressReportEventArgs-Typ macht folgende Elemente verfügbar.

Konstruktoren

  Name Beschreibung
Öffentliche Methode ProgressReportEventArgs(Urn, Urn, Int32, Int32, Int32, Int32) Creates a new instance of the ProgressReportEventArgs class with the specified options.
Öffentliche Methode ProgressReportEventArgs(Urn, Urn, Boolean, Int32, Int32, Int32, Int32) Creates a new instance of the ProgressReportEventArgs class with the specified options.

Zum Anfang

Eigenschaften

  Name Beschreibung
Öffentliche Eigenschaft Current Gets the Urn object value that specifies the object that the operation is currently processing.
Öffentliche Eigenschaft IsSchemaBound Gets a Boolean indicating whether the Progress Report is bound to a schema.
Öffentliche Eigenschaft Parent Gets the Urn object that is the parent of the ProgressReportEventArgs object.
Öffentliche Eigenschaft SubTotal Gets the total number of objects within the current branch of the object hierarchy.
Öffentliche Eigenschaft SubTotalCount Gets the current count of objects processed by the operation within the current branch of the object hierarchy.
Öffentliche Eigenschaft Total Gets the total number of object in the entire object hierarchy.
Öffentliche Eigenschaft TotalCount Gets the total current count of objects processed by the operation within the entire object hierarchy.

Zum Anfang

Methoden

  Name Beschreibung
Öffentliche Methode Equals (Geerbt von Object.)
Geschützte Methode Finalize (Geerbt von Object.)
Öffentliche Methode GetHashCode (Geerbt von Object.)
Öffentliche Methode GetType (Geerbt von Object.)
Geschützte Methode MemberwiseClone (Geerbt von Object.)
Öffentliche Methode ToString (Geerbt von Object.)

Zum Anfang

Hinweise

Thread Safety

Alle öffentlichen, statischen Elemente dieses Typs (Shared in Microsoft Visual Basic) sind für Vorgänge mit mehreren Threads sicher. Bei Instanzmembern ist die Threadsicherheit nicht gewährleistet.

Beispiele

Behandeln von SMO-Ereignissen

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic)-Elemente dieses Typs sind Threadsicher. Für Instanzelemente wird die Threadsicherheit nicht gewährleistet.

Siehe auch

Verweis

Microsoft.SqlServer.Management.Smo-Namespace