Export (0) Print
Expand All

PercentCompleteEventArgs Class

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

Object
  EventArgs
    ServerMessageEventArgs
      Microsoft.SqlServer.Management.Smo.PercentCompleteEventArgs

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

public sealed class PercentCompleteEventArgs : 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.

Community Additions

ADD
Show:
© 2014 Microsoft