Dela via


ProgressReportEventArgs Constructor (Urn, Urn, Boolean, 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, _
    isSchemaBound As Boolean, _
    subTotalCount As Integer, _
    subTotal As Integer, _
    totalCount As Integer, _
    total As Integer _
)
'Usage
Dim current As Urn
Dim parent As Urn
Dim isSchemaBound As Boolean
Dim subTotalCount As Integer
Dim subTotal As Integer
Dim totalCount As Integer
Dim total As Integer

Dim instance As New ProgressReportEventArgs(current, _
    parent, isSchemaBound, subTotalCount, _
    subTotal, totalCount, total)
public ProgressReportEventArgs(
    Urn current,
    Urn parent,
    bool isSchemaBound,
    int subTotalCount,
    int subTotal,
    int totalCount,
    int total
)
public:
ProgressReportEventArgs(
    Urn^ current, 
    Urn^ parent, 
    bool isSchemaBound, 
    int subTotalCount, 
    int subTotal, 
    int totalCount, 
    int total
)
new : 
        current:Urn * 
        parent:Urn * 
        isSchemaBound:bool * 
        subTotalCount:int * 
        subTotal:int * 
        totalCount:int * 
        total:int -> ProgressReportEventArgs
public function ProgressReportEventArgs(
    current : Urn, 
    parent : Urn, 
    isSchemaBound : boolean, 
    subTotalCount : int, 
    subTotal : int, 
    totalCount : int, 
    total : int
)

Parameters

  • isSchemaBound
    Type: System.Boolean
    A value that specifies whether the object is bound to a schema.
  • subTotalCount
    Type: System.Int32
    An Int32 that specifies the total number of objects within the current branch of the object hierarchy.
  • subTotal
    Type: System.Int32
    An Int32 that specifies the current count of objects processed by the operation within the entire object hierarchy.
  • totalCount
    Type: System.Int32
    An Int32 that specifies the total number of objects in the entire object hierarchy.
  • total
    Type: System.Int32
    An Urn object value that specifies the object that the operation is currently processing.