共用方式為


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