PendingCommandInfo Class

Represents information on the number of pending commands for a subscription to a transactional publication and a rough estimate of how much time it takes to process them.

Inheritance Hierarchy

System.Object
  Microsoft.SqlServer.Replication.PendingCommandInfo

Namespace:  Microsoft.SqlServer.Replication
Assembly:  Microsoft.SqlServer.Rmo (in Microsoft.SqlServer.Rmo.dll)

Syntax

'Declaration
Public NotInheritable Class PendingCommandInfo
'Usage
Dim instance As PendingCommandInfo
public sealed class PendingCommandInfo
public ref class PendingCommandInfo sealed
[<SealedAttribute>]
type PendingCommandInfo =  class end
public final class PendingCommandInfo

The PendingCommandInfo type exposes the following members.

Constructors

  Name Description
Public method PendingCommandInfo Creates a new instance of the PendingCommandInfo class.

Top

Properties

  Name Description
Public property EstimatedTimeBehind Gets or sets the estimated time to complete delivering the pending commands, in seconds.
Public property PendingCommands Gets or sets the number of pending commands that are waiting to be delivered.
Public property UserData Gets or sets an object that allows users to attach their own data.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Remarks

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Thread Safety

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

See Also

Reference

Microsoft.SqlServer.Replication Namespace

TransPendingCommandInfo

Other Resources

NIB Programmatically Monitor Replication (RMO Programming)

sp_replmonitorsubscriptionpendingcmds (Transact-SQL)