共用方式為


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.