Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

ProgressReportEventArgs Constructor

 

Applies To: SQL Server 2016 Preview

Creates a new instance of the ProgressReportEventArgs class.

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

NameDescription
System_CAPS_pubmethodProgressReportEventArgs(Urn, Urn, Boolean, Int32, Int32, Int32, Int32)

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

System_CAPS_pubmethodProgressReportEventArgs(Urn, Urn, Int32, Int32, Int32, Int32)

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

Return to top

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

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

public ProgressReportEventArgs(
	Urn current,
	Urn parent,
	bool isSchemaBound,
	int subTotalCount,
	int subTotal,
	int totalCount,
	int total
)

Parameters

current
Type: Microsoft.SqlServer.Management.Sdk.Sfc.Urn

An Urn object value that specifies the object that the operation is currently processing.

parent
Type: Microsoft.SqlServer.Management.Sdk.Sfc.Urn

An Urn object value that specifies the object that is top most in the hierarchy that the operation is processing.

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.

Legacy Code Example

Return to top

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

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

public ProgressReportEventArgs(
	Urn current,
	Urn parent,
	int subTotalCount,
	int subTotal,
	int totalCount,
	int total
)

Parameters

current
Type: Microsoft.SqlServer.Management.Sdk.Sfc.Urn

An Urn object value that specifies the object that the operation is currently processing.

parent
Type: Microsoft.SqlServer.Management.Sdk.Sfc.Urn

An Urn object value that specifies the object that is top most in the hierarchy that the operation is processing.

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.

Return to top
Show:
© 2015 Microsoft