Nota
L'accés a aquesta pàgina requereix autorització. Podeu provar d'iniciar la sessió o de canviar els directoris.
L'accés a aquesta pàgina requereix autorització. Podeu provar de canviar els directoris.
Esta característica se quitará en una versión futura de Microsoft SQL Server. Evite utilizar esta característica en nuevos trabajos de desarrollo y tenga previsto modificar las aplicaciones que actualmente la utilizan.
The PercentCompleteAtStep event occurs when a database schema and/or data copy operation reaches a system-defined midpoint in processing.
Sintaxis
Private Sub
object
_PercentCompleteAtStep(
Message as String
,
Percent as Long
)
Parts
- object
Expression that evaluates to an object in the Applies To list.
- Message
String that contains descriptive message text.
- Percent
Long integer representation of a percentage value. The value is the percent of processing complete scaled by 100. For example, a process seven percent complete reports the value 7.
Prototype (C/C++)
HRESULT PercentCompleteAtStep(SQLDMO_LPCSTR szMessage,
long Percent);
Notas
When using the Transfer and ScriptTransfer methods of the Database object, SQL-DMO breaks up processing into system-defined units. As each unit completes, SQL-DMO determines the percentage of the operation completed, and raises the PercentCompleteAtStep event.