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 whether 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

此类型的任何公共静态(Microsoft Visual Basic 中的 Shared)成员在多线程操作中是安全的。但不保证所有实例成员都是线程安全的。

示例

处理 SMO 事件

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。

请参阅

参考

Microsoft.SqlServer.Management.Smo 命名空间