Represents information about a Publisher registered at the currently connected Distributor.
The following tables list the members exposed by the DistributionPublisher type.
Public Constructors
| 名称 | Description | |
|---|---|---|
| DistributionPublisher | Overloaded. Creates a new instance of the DistributionPublisher class. | 
顶部
Public Properties
| 名称 | Description | |
|---|---|---|
| .gif) | CachePropertyChanges | Gets or sets whether to cache changes made to the replication properties or to apply them immediately. (inherited from ReplicationObject) | 
| .gif) | ConnectionContext | Gets or sets the connection to an instance of Microsoft SQL Server. (inherited from ReplicationObject) | 
| .gif) | DistributionDatabase | Gets or sets the name of the distribution database used by the Publisher. | 
| .gif) | DistributionPublications | Returns the publications that exist at the Publisher. | 
| .gif) | HeterogeneousLogReaderAgentExists | Gets whether the Log Reader Agent job exists for the non-SQL Server Publisher. | 
| .gif) | HeterogeneousLogReaderAgentProcessSecurity | Gets the security context used by the Log Reader agent for a non-SQL Server Publisher. | 
| .gif) | IsExistingObject | Gets whether the object exists on the server or not. (inherited from ReplicationObject) | 
| .gif) | Name | Gets or sets the name of the Publisher instance of Microsoft SQL Server. | 
| .gif) | PublisherSecurity | Gets the security context used by replication agent when connecting to the Publisher. | 
| .gif) | PublisherType | Gets or sets the Publisher type. | 
| .gif) | RegisteredSubscribers | Returns the Subscribers that are subscribed to publications at the Publisher. | 
| .gif) | SqlServerName | Gets the name of the Microsoft SQL Server instance to which this object is connected. (inherited from ReplicationObject) | 
| .gif) | Status | Gets the Publisher status. | 
| .gif) | ThirdParty | Gets or sets whether the Publisher is a non-SQL Server Publisher. | 
| .gif) | TransPublications | Returns the transactional publications at the Publisher. | 
| .gif) | TrustedDistributorConnection | |
| .gif) | UserData | Gets or sets an object property that allows users to attach their own data to the object. (inherited from ReplicationObject) | 
| .gif) | WorkingDirectory | Gets or sets the name of the working directory used to store data and schema files for the publication. | 
顶部
Public Methods
(see also Protected Methods )
| 名称 | Description | |
|---|---|---|
| .gif) | CommitPropertyChanges | Sends all the cached property change statements to the instance of Microsoft SQL Server. (inherited from ReplicationObject) | 
| .gif) | Create | Registers the Publisher with the specified properties at the Distributor. | 
| .gif) | CreateHeterogeneousLogReaderAgent | Creates a Log Reader Agent job for a non-SQL Server Publisher. | 
| .gif) | Decouple | Decouples the referenced replication object from the server. (inherited from ReplicationObject) | 
| .gif) | EnumDistributionPublications | Returns information stored at the Distributor about publications at this Publisher. | 
| .gif) | EnumRegisteredSubscribers | Returns information stored at the Distributor about Subscribers to publications at this Publisher. | 
| .gif) | EnumTransPublications | Returns information at the Distributor about transactional publications at this Publisher. | 
| .gif) | Equals | Overloaded. (inherited from Object ) | 
| .gif) | GetHashCode | (inherited from Object ) | 
| .gif) | GetType | (inherited from Object ) | 
| .gif) | Load | Loads the properties of an existing object from the server. (inherited from ReplicationObject) | 
| .gif) | LoadProperties | Loads the properties of an existing object from the server. (inherited from ReplicationObject) | 
| .gif) .gif) | ReferenceEquals | (inherited from Object ) | 
| .gif) | Refresh | Reloads the properties of the object. (inherited from ReplicationObject) | 
| .gif) | Remove | Removes the registration for this Publisher from the currently connected Distributor. | 
| .gif) | Script | Generates a Transact-SQL script that can be used to install or uninstall the Publisher. | 
| .gif) | ToString | (inherited from Object ) | 
顶部
Protected Methods
| 名称 | Description | |
|---|---|---|
| .gif) | CheckValidCreation | (inherited from ReplicationObject ) | 
| .gif) | CheckValidDefinition | (inherited from ReplicationObject ) | 
| .gif) | Finalize | (inherited from Object ) | 
| .gif) | GetChangeCommand | (inherited from ReplicationObject ) | 
| .gif) | GetCreateCommand | (inherited from ReplicationObject ) | 
| .gif) | GetDropCommand | (inherited from ReplicationObject ) | 
| .gif) | InternalRefresh | (inherited from ReplicationObject ) | 
| .gif) | MemberwiseClone | (inherited from Object ) | 
顶部
请参阅
参考
DistributionPublisher Class
Microsoft.SqlServer.Replication Namespace
其他资源
How to: Configure Publishing and Distribution (RMO Programming)