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 中的 Shared)成员在多线程操作中是安全的。但不保证所有实例成员都是线程安全的。
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。
请参阅
参考
Microsoft.SqlServer.Management.Smo 命名空间