Compartilhar via


Membros DistributionDatabase

Represents a distribution database at the Distributor.

O tipo DistributionDatabase expõe os seguintes membros.

Construtores

  Nome Descrição
Método público DistributionDatabase() () () () Creates a new instance of the DistributionDatabase class.
Método público DistributionDatabase(String, ServerConnection) Creates a new instance of the DistributionDatabase class, with the specified database name and a connection to the Distributor.

Início

Métodos

  Nome Descrição
Método protegido CheckValidCreation Infraestrutura. (Herdado de ReplicationObject.)
Método protegido CheckValidDefinition Infraestrutura. (Herdado de ReplicationObject.)
Método público CleanUpAnonymousSubscription Removes metadata for anonymous subscriptions at the Distributor.
Método público CommitPropertyChanges Sends all the cached property change statements to the instance of Microsoft SQL Server. (Herdado de ReplicationObject.)
Método público Create Creates the distribution database.
Método público CreateQueueReaderAgent Creates the Queue Reader Agent job on the distribution database.
Método público Decouple Decouples the referenced replication object from the server. (Herdado de ReplicationObject.)
Método público Equals (Herdado de Object.)
Método protegido Finalize (Herdado de Object.)
Método protegido GetChangeCommand Infraestrutura. (Herdado de ReplicationObject.)
Método protegido GetCreateCommand Infraestrutura. (Herdado de ReplicationObject.)
Método protegido GetDropCommand Infraestrutura. (Herdado de ReplicationObject.)
Método público GetHashCode (Herdado de Object.)
Método público GetType (Herdado de Object.)
Método protegido InternalRefresh Infraestrutura. (Herdado de ReplicationObject.)
Método público Load Loads the properties of an existing object from the server. (Herdado de ReplicationObject.)
Método público LoadProperties Loads the properties of an existing object from the server. (Herdado de ReplicationObject.)
Método protegido MemberwiseClone (Herdado de Object.)
Método público Refresh Reloads the properties of the object. (Herdado de ReplicationObject.)
Método público RegisterBusinessLogicHandler Registers a business logic handler assembly at the Distributor.
Método público Remove Deletes the distribution database.
Método público Script Generates a Transact-SQL script that can be used to create or delete the distribution database that the object represents.
Método público ToString (Herdado de Object.)
Método público UnregisterBusinessLogicHandler Removes the registration for a business logic handler from the Distributor.

Início

Propriedades

  Nome Descrição
Propriedade pública CachePropertyChanges Gets or sets whether to cache changes made to the replication properties or to apply them immediately. (Herdado de ReplicationObject.)
Propriedade pública ConnectionContext Gets or sets the connection to an instance of Microsoft SQL Server. (Herdado de ReplicationObject.)
Propriedade pública DataFile Gets or sets the name of the data file for the distribution database.
Propriedade pública DataFileSize Gets or sets the size of the primary database file for the distribution database.
Propriedade pública DataFolder Gets or sets the path to the directory that contains the data file for the distribution database.
Propriedade pública DistributionCleanupTaskName Gets the name of the SQL Server Agent job that is responsible for cleaning up the replication tables in the distribution.
Propriedade pública DistributorSecurity Gets the security context used to connect to the Distributor to create the distribution database.
Propriedade pública HistoryCleanupTaskName Gets the name of the SQL Server Agent job that is responsible for cleaning up replication history tables.
Propriedade pública HistoryRetention Gets or sets the length of time, in hours, replication agent history data is to be retained.
Propriedade pública IsExistingObject Gets whether the object exists on the server or not. (Herdado de ReplicationObject.)
Propriedade pública LogFile Gets or sets the name of the file that stores database transaction log records.
Propriedade pública LogFileSize Gets or sets the size of the file that stores database transaction log records.
Propriedade pública LogFolder Gets or sets the path to the directory where the file that stores database transaction log records is located.
Propriedade pública MaxDistributionRetention Gets or sets the maximum retention period, in hours, before transactions are deleted from the distribution database.
Propriedade pública MinDistributionRetention Gets or sets the minimum retention period, in hours, before transactions are deleted from the distribution database.
Propriedade pública Name Gets or sets the name of the distribution database.
Propriedade pública QueueReaderAgentExists Gets or sets whether the Queue Reader Agent job has been created for this distribution database.
Propriedade pública QueueReaderAgentName Gets or sets the name of the Queue Reader Agent job created for this distribution database.
Propriedade pública QueueReaderAgentProcessSecurity Gets the agent process security context for running the Queue Reader Agent job.
Propriedade pública SqlServerName Gets the name of the Microsoft SQL Server instance to which this object is connected. (Herdado de ReplicationObject.)
Propriedade pública UserData Gets or sets an object property that allows users to attach their own data to the object. (Herdado de ReplicationObject.)

Início