PercentCompleteNotification Property

SQL-DMO

SQL-DMO

PercentCompleteNotification Property

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

Applies To
Backup Object Restore Object
Syntax

object.PercentCompleteNotification [= value]

Parts

object

Expression that evaluates to an object in the Applies To list

value

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);

Remarks

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