PercentCompleteNotification 属性

Gets or sets the percentage interval for PercentCompleteEventHandler event handler calls.

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.SmoExtended(在 Microsoft.SqlServer.SmoExtended.dll 中)

语法

声明
Public Property PercentCompleteNotification As Integer
    Get
    Set
用法
Dim instance As BackupRestoreBase
Dim value As Integer

value = instance.PercentCompleteNotification

instance.PercentCompleteNotification = value
public int PercentCompleteNotification { get; set; }
public:
property int PercentCompleteNotification {
    int get ();
    void set (int value);
}
member PercentCompleteNotification : int with get, set
function get PercentCompleteNotification () : int
function set PercentCompleteNotification (value : int)

属性值

类型:System. . :: . .Int32
An Int32 that specifies the percentage interval for the event handler calls. The default value is 10.

注释

For the default value 10, PercentCompleteEventHandler is called for every 10 percent of the task completed. The event handler might report slightly later if the backup or restore procedure does not release the process to the event handler immediately after the event is raised.