Partilhar via


ProgressReportEventArgs Constructor

Initializes a new instance of the ProgressReportEventArgs class.

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

Syntax

'Declaration
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
)

Parameters

  • 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.

Remarks

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

Example

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

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

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

Other Resources

Handling SMO Events