Partilhar via


Evento Scripter.ScriptingProgress

Raises an event to receive information about the progress of the scripting operation.

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

Sintaxe

'Declaração
Public Event ScriptingProgress As ProgressReportEventHandler
'Uso
Dim instance As Scripter 
Dim handler As ProgressReportEventHandler 

AddHandler instance.ScriptingProgress, handler
public event ProgressReportEventHandler ScriptingProgress
public:
 event ProgressReportEventHandler^ ScriptingProgress {
    void add (ProgressReportEventHandler^ value);
    void remove (ProgressReportEventHandler^ value);
}
member ScriptingProgress : IEvent<ProgressReportEventHandler,
    ProgressReportEventArgs>
JScript dá suporte ao uso de eventos, mas não à declaração de eventos novos.

Comentários

Event Data

The following ProgressReportEventArgs properties provide information specific to this event.

Property

Description

Current

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

Parent

Gets the Urn object value that specifies the topmost object in the hierarchy that the operation is processing.

SubTotal

Gets the current count of objects that are processed by the operation in the current branch of the object hierarchy.

SubTotalCount

Gets the total number of objects in the current branch of the object hierarchy.

Total

Get the total number of objects in the entire object hierarchy.

TotalCount

Gets the current count of objects that are processed by the operation in the entire object hierarchy.

Consulte também

Referência

Scripter Classe

Namespace Microsoft.SqlServer.Management.Smo