共用方式為


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。)

頂端