Export (0) Print
Expand All

PercentCompleteEventArgs Class

Represents the arguments passed by the event raised when a process reaches a percent complete marker.


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

public ref class PercentCompleteEventArgs sealed : public ServerMessageEventArgs

The PercentCompleteEventArgs type exposes the following members.

Public propertyErrorGets the error associated with the server message event. (Inherited from ServerMessageEventArgs.)
Public propertyMessageGets the message for the PercentCompleteEventArgs.
Public propertyPercentGets the percentage value amount that when used in integer multiples, and marks the point at which to report progress.

Public methodEquals (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodToStringReturns a String that represents the ServerMessageEventArgs object. (Inherited from ServerMessageEventArgs.)

The PercentCompleteEventArgs object is used by the Backup class and the Restore class to report progress.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2015 Microsoft