Partager via


PercentCompleteNotification Property

Cette fonctionnalité sera supprimée dans une prochaine version de Microsoft SQL Server. Évitez d'utiliser cette fonctionnalité dans de nouveaux travaux de développement, et prévoyez de modifier les applications qui utilisent actuellement cette fonctionnalité.

The PercentCompleteNotification property configures a Backup or Restore object, setting the interval for PercentComplete event handler calls.

Syntaxe

object
.PercentCompleteNotification [= value]

Parts

  • object
    An expression that evaluates to an object in the Applies To list
  • value
    A positive, long integer value from 1 through 100

Data Type

Long

Modifiable

Read/write

Prototype (C/C++)

HRESULT GetPercentCompleteNotification(LPLONG pRetVal);
HRESULT SetPercentCompleteNotification(long NewValue);

Notes

The default is 10, and PercentComplete event handlers are called for every 10 percent of the task completed.

Applies To:

Backup Object

Restore Object