Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

PercentCompleteEventArgs Class

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

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.

  NameDescription
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.
Top
  NameDescription
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.)
Top

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.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.