Share via


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

此型別的任何公用靜態 (在 Microsoft Visual Basic 為共用) 成員具備多執行緒作業安全。不保證所有執行個體成員都是安全執行緒。

執行緒安全性

這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。