Share via


PercentCompleteNotification Property

This feature will be removed in a future version of Microsoft SQL Server. Avoid using this feature in new development work, and plan to modify applications that currently use this feature.

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

Syntax

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

Remarks

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

Applies To:

Backup Object

Restore Object