Partager via


Classe SubscriberSubscription

Returns information about a subscription.

Hiérarchie d'héritage

System.Object
  Microsoft.SqlServer.Replication.SubscriberSubscription

Espace de noms :  Microsoft.SqlServer.Replication
Assembly :  Microsoft.SqlServer.Rmo (en Microsoft.SqlServer.Rmo.dll)

Syntaxe

'Déclaration
Public NotInheritable Class SubscriberSubscription
'Utilisation
Dim instance As SubscriberSubscription
public sealed class SubscriberSubscription
public ref class SubscriberSubscription sealed
[<SealedAttribute>]
type SubscriberSubscription =  class end
public final class SubscriberSubscription

Le type SubscriberSubscription expose les membres suivants.

Constructeurs

  Nom Description
Méthode publique SubscriberSubscription Creates a new instance of the SubscriberSubscription class.

Haut de la page

Propriétés

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

Haut de la page

Méthodes

  Nom Description
Méthode publique Equals (hérité de Object.)
Méthode publique GetHashCode (hérité de Object.)
Méthode publique GetType (hérité de Object.)
Méthode publique ToString (hérité de Object.)

Haut de la page

Notes

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.

Exemples

EnumSubscriberSubscriptions

Using the Subscriber Monitor Sample

Sécurité des threads

Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.

Voir aussi

Référence

Espace de noms Microsoft.SqlServer.Replication