Поделиться через


PercentCompleteNotification Property

В будущей версии Microsoft SQL Server эта возможность будет удалена. Избегайте использования этой возможности в новых разработках и запланируйте изменение существующих приложений, в которых она применяется.

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

Синтаксис

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

Замечания

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

Applies To:

Backup Object

Restore Object