Freigeben über


DistributionDatabase-Member

Represents a distribution database at the Distributor.

Der DistributionDatabase-Typ macht die folgenden Member verfügbar.

Konstruktoren

  Name Beschreibung
Öffentliche Methode DistributionDatabase() () () () Creates a new instance of the DistributionDatabase class.
Öffentliche Methode DistributionDatabase(String, ServerConnection) Creates a new instance of the DistributionDatabase class, with the specified database name and a connection to the Distributor.

Zum Anfang

Methoden

  Name Beschreibung
Geschützte Methode CheckValidCreation Infrastruktur. (Geerbt von ReplicationObject.)
Geschützte Methode CheckValidDefinition Infrastruktur. (Geerbt von ReplicationObject.)
Öffentliche Methode CleanUpAnonymousSubscription Removes metadata for anonymous subscriptions at the Distributor.
Öffentliche Methode CommitPropertyChanges Sends all the cached property change statements to the instance of Microsoft SQL Server. (Geerbt von ReplicationObject.)
Öffentliche Methode Create Creates the distribution database.
Öffentliche Methode CreateQueueReaderAgent Creates the Queue Reader Agent job on the distribution database.
Öffentliche Methode Decouple Decouples the referenced replication object from the server. (Geerbt von ReplicationObject.)
Öffentliche Methode Equals (Geerbt von Object.)
Geschützte Methode Finalize (Geerbt von Object.)
Geschützte Methode GetChangeCommand Infrastruktur. (Geerbt von ReplicationObject.)
Geschützte Methode GetCreateCommand Infrastruktur. (Geerbt von ReplicationObject.)
Geschützte Methode GetDropCommand Infrastruktur. (Geerbt von ReplicationObject.)
Öffentliche Methode GetHashCode (Geerbt von Object.)
Öffentliche Methode GetType (Geerbt von Object.)
Geschützte Methode InternalRefresh Infrastruktur. (Geerbt von ReplicationObject.)
Öffentliche Methode Load Loads the properties of an existing object from the server. (Geerbt von ReplicationObject.)
Öffentliche Methode LoadProperties Loads the properties of an existing object from the server. (Geerbt von ReplicationObject.)
Geschützte Methode MemberwiseClone (Geerbt von Object.)
Öffentliche Methode Refresh Reloads the properties of the object. (Geerbt von ReplicationObject.)
Öffentliche Methode RegisterBusinessLogicHandler Registers a business logic handler assembly at the Distributor.
Öffentliche Methode Remove Deletes the distribution database.
Öffentliche Methode Script Generates a Transact-SQL script that can be used to create or delete the distribution database that the object represents.
Öffentliche Methode ToString (Geerbt von Object.)
Öffentliche Methode UnregisterBusinessLogicHandler Removes the registration for a business logic handler from the Distributor.

Zum Anfang

Eigenschaften

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

Zum Anfang