共用方式為


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 命名空間