Dela via


PercentCompleteEventArgs.Percent Property

Gets the percentage value amount that when used in integer multiples, and marks the point at which to report progress.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.SmoExtended (in Microsoft.SqlServer.SmoExtended.dll)

Syntax

'Declaration
Public ReadOnly Property Percent As Integer
    Get
'Usage
Dim instance As PercentCompleteEventArgs
Dim value As Integer

value = instance.Percent
public int Percent { get; }
public:
property int Percent {
    int get ();
}
member Percent : int
function get Percent () : int

Property Value

Type: System.Int32
An Int32 value that specifies the percentage value.

Remarks

The percentage value is reported at some point after the integer multiple of the percentage value is reached. For a Percent property value of 10, this means that the progress is reported after a multiple of 10 percent. The actual point at which it reports progress is when the write operation to disk pauses, and this does not always occur at exact multiples of the Percent property value.