ProgressReportEventArgs Constructor

Initializes a new instance of the ProgressReportEventArgs class.

命名空间: Microsoft.SqlServer.Management.Smo
程序集: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

语法

声明
Public Sub New ( _
    current As Urn, _
    parent As Urn, _
    subTotalCount As Integer, _
    subTotal As Integer, _
    totalCount As Integer, _
    total As Integer _
)
public ProgressReportEventArgs (
    Urn current,
    Urn parent,
    int subTotalCount,
    int subTotal,
    int totalCount,
    int total
)
public:
ProgressReportEventArgs (
    Urn^ current, 
    Urn^ parent, 
    int subTotalCount, 
    int subTotal, 
    int totalCount, 
    int total
)
public ProgressReportEventArgs (
    Urn current, 
    Urn parent, 
    int subTotalCount, 
    int subTotal, 
    int totalCount, 
    int total
)
public function ProgressReportEventArgs (
    current : Urn, 
    parent : Urn, 
    subTotalCount : int, 
    subTotal : int, 
    totalCount : int, 
    total : int
)

参数

  • current
    A Urn object value that specifies the object that the operation is currently processing.
  • parent
    A Urn object value that specifies the object that is top most in the hierarchy that the operation is processing.
  • subTotalCount
    The current count of objects processed by the operation within the current branch of the object hierarchy.
  • subTotal
    An Int32 that specifies the total number of objects within the current branch of the object hierarchy.
  • totalCount
    An Int32 that specifies the current count of objects processed by the operation within the entire object hierarchy.
  • total
    An Int32 that specifies the total number of objects in the entire object hierarchy.

备注

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

示例

How to: Register Event Handlers and Subscribe to Event Handling in Visual Basic .NET

平台

开发平台

有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。

目标平台

有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。

请参阅

参考

ProgressReportEventArgs Class
ProgressReportEventArgs Members
Microsoft.SqlServer.Management.Smo Namespace

其他资源

Handling SMO Events