Compartir a través de


DistributionDatabase Miembros

Represents a distribution database at the Distributor.

El tipo DistributionDatabase expone los siguientes miembros.

Constructores

  Nombre Descripción
Método publico DistributionDatabase() () () () Creates a new instance of the DistributionDatabase class.
Método publico DistributionDatabase(String, ServerConnection) Creates a new instance of the DistributionDatabase class, with the specified database name and a connection to the Distributor.

Principio

Métodos

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

Principio

Propiedades

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

Principio