BackupRestoreBase.PercentCompleteNotification Property

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

Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

public int PercentCompleteNotification { get; set; }
/** @property */
public int get_PercentCompleteNotification ()

/** @property */
public void set_PercentCompleteNotification (int value)

public function get PercentCompleteNotification () : int

public function set PercentCompleteNotification (value : int)

Property Value

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.

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

Community Additions