Поделиться через


Элементы DistributionSubscription

Represents information stored at the Distributor about a subscription to a transactional or snapshot publication.

Тип DistributionSubscription предоставляет доступ к следующим элементам.

Конструкторы

  Имя Описание
Открытый метод DistributionSubscription() () () () Creates a new instance of the DistributionSubscription class.
Открытый метод DistributionSubscription(String, String, String, String, String, String, ServerConnection) Creates a new instance of the DistributionSubscription class, with the required properties and with a connection to the Distributor.

В начало

Методы

  Имя Описание
Защищенный метод CheckValidCreation Инфраструктура. (Наследуется из ReplicationObject.)
Защищенный метод CheckValidDefinition Инфраструктура. (Наследуется из ReplicationObject.)
Открытый метод CommitPropertyChanges Sends all the cached property change statements to the instance of Microsoft SQL Server. (Наследуется из ReplicationObject.)
Открытый метод Decouple Decouples the referenced replication object from the server. (Наследуется из ReplicationObject.)
Открытый метод Equals (Наследуется из Object.)
Защищенный метод Finalize (Наследуется из Object.)
Защищенный метод GetChangeCommand Инфраструктура. (Наследуется из ReplicationObject.)
Защищенный метод GetCreateCommand Инфраструктура. (Наследуется из ReplicationObject.)
Защищенный метод GetDropCommand Инфраструктура. (Наследуется из ReplicationObject.)
Открытый метод GetHashCode (Наследуется из Object.)
Открытый метод GetType (Наследуется из Object.)
Защищенный метод InternalRefresh Инфраструктура. (Наследуется из ReplicationObject.)
Открытый метод Load Loads the properties of an existing object from the server. (Наследуется из ReplicationObject.)
Открытый метод LoadProperties Loads the properties of an existing object from the server. (Наследуется из ReplicationObject.)
Защищенный метод MemberwiseClone (Наследуется из Object.)
Открытый метод Refresh Reloads the properties of the object. (Наследуется из ReplicationObject.)
Открытый метод Script Инфраструктура.
Открытый метод ToString (Наследуется из Object.)

В начало

Свойства

  Имя Описание
Открытое свойство AgentJobId Gets the ID of the SQL Server Agent job that synchronizes the Subscription. 
Открытое свойство AgentSchedule Gets the synchronization agent schedule for the subscription.
Открытое свойство CachePropertyChanges Gets or sets whether to cache changes made to the replication properties or to apply them immediately. (Наследуется из ReplicationObject.)
Открытое свойство ConnectionContext Gets or sets the connection to an instance of Microsoft SQL Server. (Наследуется из ReplicationObject.)
Открытое свойство DistributionAgent Gets the name of the SQL Server Agent job that is used to synchronize the subscription. 
Открытое свойство DistributionDBName Gets or sets the name of the distribution database.
Открытое свойство IsExistingObject Gets whether the object exists on the server or not. (Наследуется из ReplicationObject.)
Открытое свойство Name Gets the name of the subscription.
Открытое свойство PublicationDBName Gets or sets the name of the publication database.
Открытое свойство PublicationName Gets or sets the name of the publication to which the subscription belongs.
Открытое свойство PublisherName Gets or sets the Publisher of the publication to which the subscription belongs.
Открытое свойство SqlServerName Gets the name of the Microsoft SQL Server instance to which this object is connected. (Наследуется из ReplicationObject.)
Открытое свойство Status Gets or sets the status of the subscription.
Открытое свойство SubscriberName Gets or sets the name of the Subscriber.
Открытое свойство SubscriptionDBName Gets or sets the name of the subscription database.
Открытое свойство SubscriptionType Gets or sets whether the Distribution agent runs at the Distributor (Push) or at the Subscriber (Pull).
Открытое свойство SyncType Gets or sets the manner in which the subscription is initialized.
Открытое свойство UserData Gets or sets an object property that allows users to attach their own data to the object. (Наследуется из ReplicationObject.)

В начало