ProgressReportEventArgs Constructor (Urn, Urn, Int32, Int32, Int32, Int32)

Creates a new instance of the ProgressReportEventArgs class with the specified options.

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 _
)
'Usage
Dim current As Urn
Dim parent As Urn
Dim subTotalCount As Integer
Dim subTotal As Integer
Dim totalCount As Integer
Dim total As Integer

Dim instance As New ProgressReportEventArgs(current, _
    parent, subTotalCount, subTotal, _
    totalCount, 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
)
new : 
        current:Urn * 
        parent:Urn * 
        subTotalCount:int * 
        subTotal:int * 
        totalCount:int * 
        total:int -> ProgressReportEventArgs
public function ProgressReportEventArgs(
    current : Urn, 
    parent : Urn, 
    subTotalCount : int, 
    subTotal : int, 
    totalCount : int, 
    total : int
)

Parameters

  • subTotalCount
    Type: System.Int32
    An Int32 that specifies the current count of objects processed by the operation within the current branch of the object hierarchy.
  • subTotal
    Type: System.Int32
    An Int32 that specifies the total number of objects within the current branch of the object hierarchy.
  • totalCount
    Type: System.Int32
    An Int32 that specifies the current count of objects processed by the operation within the entire object hierarchy.
  • total
    Type: System.Int32
    An Int32 that specifies the total number of objects in the entire object hierarchy.