SubscriberSubscription Class

Returns information about a subscription.

Inheritance Hierarchy

System.Object
  Microsoft.SqlServer.Replication.SubscriberSubscription

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

Syntax

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

The SubscriberSubscription type exposes the following members.

Constructors

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

Top

Properties

  Name Description
Public property LastAgentStatus Gets or sets status information from last run of the synchronization agent.
Public property LastAgentSummary Gets or sets the last agent summary message during synchronization.
Public property LastAgentSyncDateTime Gets or sets the date and time of the last run of the synchronization agent.
Public property PublicationDBName Gets or sets the name of the publication database.
Public property PublicationName Gets or sets the name of the publication to which the subscription is subscribed.
Public property PublisherName Gets or sets the name of the Publisher.
Public property SubscriptionDBName Gets or sets the name of the subscription database.
Public property SubscriptionType Gets or sets the subscription type.
Public property Type Gets or sets the type of publication to which the subscription is subscribed.
Public property UpdateMode Gets or sets the update mode for an updating subscription to a transactional publication.
Public property UserData Gets or sets an object property that allows users to attach their own data to this object.

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 .NET Framework.

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.

Examples

EnumSubscriberSubscriptions

Using the Subscriber Monitor Sample

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