PercentCompleteEventArgs.Percent 属性

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

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

语法

声明
Public ReadOnly Property Percent As Integer 
    Get
用法
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

属性值

类型:System.Int32
The percentage value.

注释

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.

示例

处理 SMO 事件

请参阅

参考

PercentCompleteEventArgs 类

Microsoft.SqlServer.Management.Smo 命名空间