Элементы 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.) |
В начало
См. также