PercentCompleteEventArgs 類別
Represents the arguments passed by the event raised when a process reaches a percent complete marker.
繼承階層
System.Object
System.EventArgs
Microsoft.SqlServer.Management.Common.ServerMessageEventArgs
Microsoft.SqlServer.Management.Smo.PercentCompleteEventArgs
命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.SmoExtended (在 Microsoft.SqlServer.SmoExtended.dll 中)
語法
'宣告
Public NotInheritable Class PercentCompleteEventArgs _
Inherits ServerMessageEventArgs
'用途
Dim instance As PercentCompleteEventArgs
public sealed class PercentCompleteEventArgs : ServerMessageEventArgs
public ref class PercentCompleteEventArgs sealed : public ServerMessageEventArgs
[<SealedAttribute>]
type PercentCompleteEventArgs =
class
inherit ServerMessageEventArgs
end
public final class PercentCompleteEventArgs extends ServerMessageEventArgs
PercentCompleteEventArgs 型別公開下列成員。
屬性
名稱 | 說明 | |
---|---|---|
Error | Gets the error associated with the server message event. (繼承自 ServerMessageEventArgs。) | |
Message | Gets the message for the PercentCompleteEventArgs. | |
Percent | Gets the percentage value amount that when used in integer multiples, and marks the point at which to report progress. |
上層
方法
名稱 | 說明 | |
---|---|---|
Equals | (繼承自 Object。) | |
GetHashCode | (繼承自 Object。) | |
GetType | (繼承自 Object。) | |
ToString | Returns a String that represents the ServerMessageEventArgs object. (繼承自 ServerMessageEventArgs。) |
上層
備註
The PercentCompleteEventArgs object is used by the Backup class and the Restore class to report progress.
Thread Safety
此型別的任何公用靜態 (在 Microsoft Visual Basic 為共用) 成員具備多執行緒作業安全。並非所有的執行個體成員都是安全執行緒。
執行緒安全性
這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。
請參閱
參考
Microsoft.SqlServer.Management.Smo 命名空間