Класс ProgressReportEventArgs

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.

Иерархия наследования

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

Пространство имен:  Microsoft.SqlServer.Management.Smo
Сборка:  Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)

Синтаксис

'Декларация
Public Class ProgressReportEventArgs _
    Inherits EventArgs
'Применение
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

Тип ProgressReportEventArgs обеспечивает доступ к следующим элементам.

Конструкторы

  Имя Описание
Открытый метод ProgressReportEventArgs(Urn, Urn, Int32, Int32, Int32, Int32) Creates a new instance of the ProgressReportEventArgs class with the specified options.
Открытый метод ProgressReportEventArgs(Urn, Urn, Boolean, Int32, Int32, Int32, Int32) Creates a new instance of the ProgressReportEventArgs class with the specified options.

В начало

Свойства

  Имя Описание
Открытое свойство Current Gets the Urn object value that specifies the object that the operation is currently processing.
Открытое свойство IsSchemaBound Gets a Boolean indicating if the Progress Report is bound to a schema.
Открытое свойство Parent Gets the Urn object that is the parent of the ProgressReportEventArgs object.
Открытое свойство SubTotal Gets the total number of objects within the current branch of the object hierarchy.
Открытое свойство SubTotalCount Gets the current count of objects processed by the operation within the current branch of the object hierarchy.
Открытое свойство Total Gets the total number of object in the entire object hierarchy.
Открытое свойство TotalCount Gets the total current count of objects processed by the operation within the entire object hierarchy.

В начало

Методы

  Имя Описание
Открытый метод Equals (Производный от Object.)
Защищенный метод Finalize (Производный от Object.)
Открытый метод GetHashCode (Производный от Object.)
Открытый метод GetType (Производный от Object.)
Защищенный метод MemberwiseClone (Производный от Object.)
Открытый метод ToString (Производный от Object.)

В начало

Замечания

Thread Safety

Все общие статические члены этого типа (Shared в Microsoft Visual Basic) можно использовать в многопоточных операциях. Безопасная многопоточная работа с членами экземпляров типа не гарантируется.

Безопасность многопоточности

Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.