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 | |
---|---|---|
SubscriberSubscription | Creates a new instance of the SubscriberSubscription class. |
Top
Properties
Name | Description | |
---|---|---|
LastAgentStatus | Gets or sets status information from last run of the synchronization agent. | |
LastAgentSummary | Gets or sets the last agent summary message during synchronization. | |
LastAgentSyncDateTime | Gets or sets the date and time of the last run of the synchronization agent. | |
PublicationDBName | Gets or sets the name of the publication database. | |
PublicationName | Gets or sets the name of the publication to which the subscription is subscribed. | |
PublisherName | Gets or sets the name of the Publisher. | |
SubscriptionDBName | Gets or sets the name of the subscription database. | |
SubscriptionType | Gets or sets the subscription type. | |
Type | Gets or sets the type of publication to which the subscription is subscribed. | |
UpdateMode | Gets or sets the update mode for an updating subscription to a transactional publication. | |
UserData | Gets or sets an object property that allows users to attach their own data to this object. |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
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
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.