Partager via


Membres DistributionDatabase

Represents a distribution database at the Distributor.

Le type DistributionDatabase expose les membres suivants.

Constructeurs

  Nom Description
Méthode publique DistributionDatabase() () () () Creates a new instance of the DistributionDatabase class.
Méthode publique DistributionDatabase(String, ServerConnection) Creates a new instance of the DistributionDatabase class, with the specified database name and a connection to the Distributor.

Haut de la page

Méthodes

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

Haut de la page

Propriétés

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

Haut de la page