Элементы DistributionDatabase
Represents a distribution database at the Distributor.
Тип DistributionDatabase предоставляет доступ к следующим элементам.
Конструкторы
Имя | Описание | |
---|---|---|
DistributionDatabase() () () () | Creates a new instance of the DistributionDatabase class. | |
DistributionDatabase(String, ServerConnection) | Creates a new instance of the DistributionDatabase class, with the specified database name and a connection to the Distributor. |
В начало
Методы
Имя | Описание | |
---|---|---|
CheckValidCreation | Инфраструктура. (Наследуется из ReplicationObject.) | |
CheckValidDefinition | Инфраструктура. (Наследуется из ReplicationObject.) | |
CleanUpAnonymousSubscription | Removes metadata for anonymous subscriptions at the Distributor. | |
CommitPropertyChanges | Sends all the cached property change statements to the instance of Microsoft SQL Server. (Наследуется из ReplicationObject.) | |
Create | Creates the distribution database. | |
CreateQueueReaderAgent | Creates the Queue Reader Agent job on the distribution database. | |
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.) | |
RegisterBusinessLogicHandler | Registers a business logic handler assembly at the Distributor. | |
Remove | Deletes the distribution database. | |
Script | Generates a Transact-SQL script that can be used to create or delete the distribution database that the object represents. | |
ToString | (Наследуется из Object.) | |
UnregisterBusinessLogicHandler | Removes the registration for a business logic handler from the Distributor. |
В начало
Свойства
Имя | Описание | |
---|---|---|
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.) | |
DataFile | Gets or sets the name of the data file for the distribution database. | |
DataFileSize | Gets or sets the size of the primary database file for the distribution database. | |
DataFolder | Gets or sets the path to the directory that contains the data file for the distribution database. | |
DistributionCleanupTaskName | Gets the name of the SQL Server Agent job that is responsible for cleaning up the replication tables in the distribution. | |
DistributorSecurity | Gets the security context used to connect to the Distributor to create the distribution database. | |
HistoryCleanupTaskName | Gets the name of the SQL Server Agent job that is responsible for cleaning up replication history tables. | |
HistoryRetention | Gets or sets the length of time, in hours, replication agent history data is to be retained. | |
IsExistingObject | Gets whether the object exists on the server or not. (Наследуется из ReplicationObject.) | |
LogFile | Gets or sets the name of the file that stores database transaction log records. | |
LogFileSize | Gets or sets the size of the file that stores database transaction log records. | |
LogFolder | Gets or sets the path to the directory where the file that stores database transaction log records is located. | |
MaxDistributionRetention | Gets or sets the maximum retention period, in hours, before transactions are deleted from the distribution database. | |
MinDistributionRetention | Gets or sets the minimum retention period, in hours, before transactions are deleted from the distribution database. | |
Name | Gets or sets the name of the distribution database. | |
QueueReaderAgentExists | Gets or sets whether the Queue Reader Agent job has been created for this distribution database. | |
QueueReaderAgentName | Gets or sets the name of the Queue Reader Agent job created for this distribution database. | |
QueueReaderAgentProcessSecurity | Gets the agent process security context for running the Queue Reader Agent job. | |
SqlServerName | Gets the name of the Microsoft SQL Server instance to which this object is connected. (Наследуется из ReplicationObject.) | |
UserData | Gets or sets an object property that allows users to attach their own data to the object. (Наследуется из ReplicationObject.) |
В начало