DistributionPublisher Members

Include Protected Members
Include Inherited Members

Represents information about a Publisher registered at the currently connected Distributor.

The DistributionPublisher type exposes the following members.

Constructors

  Name Description
Public method DistributionPublisher() Creates a new instance of the DistributionPublisher class.
Public method DistributionPublisher(String, ServerConnection) Creates a new instance of the DistributionPublisher class, with the Publisher name and with a connection to the Distributor used by the Publisher.

Top

Methods

  Name Description
Protected method CheckValidCreation() Infrastructure. (Inherited from ReplicationObject.)
Protected method CheckValidDefinition(Boolean) Infrastructure. (Inherited from ReplicationObject.)
Public method CommitPropertyChanges() Sends all the cached property change statements to the instance of Microsoft SQL Server. (Inherited from ReplicationObject.)
Public method Create() Registers the Publisher with the specified properties at the Distributor.
Public method CreateHeterogeneousLogReaderAgent() Creates a Log Reader Agent job for a non-SQL Server Publisher.
Public method Decouple() Decouples the referenced replication object from the server. (Inherited from ReplicationObject.)
Public method EnumDistributionPublications() Returns information stored at the Distributor about publications at this Publisher.
Public method EnumRegisteredSubscribers() Returns information stored at the Distributor about Subscribers to publications at this Publisher.
Public method EnumTransPublications() Returns information at the Distributor about transactional publications at this Publisher.
Public method Equals(Object) (Inherited from Object.)
Protected method Finalize() (Inherited from Object.)
Protected method GetChangeCommand(StringBuilder, String, String) Infrastructure. (Inherited from ReplicationObject.)
Protected method GetCreateCommand(StringBuilder, Boolean, ScriptOptions) Infrastructure. (Inherited from ReplicationObject.)
Protected method GetDropCommand(StringBuilder, Boolean) Infrastructure. (Inherited from ReplicationObject.)
Public method GetHashCode() (Inherited from Object.)
Public method GetType() (Inherited from Object.)
Protected method InternalRefresh(Boolean) Infrastructure. (Inherited from ReplicationObject.)
Public method Load() Loads the properties of an existing object from the server. (Inherited from ReplicationObject.)
Public method LoadProperties() Loads the properties of an existing object from the server. (Inherited from ReplicationObject.)
Protected method MemberwiseClone() (Inherited from Object.)
Public method Refresh() Reloads the properties of the object. (Inherited from ReplicationObject.)
Public method Remove(Boolean) Removes the registration for this Publisher from the currently connected Distributor.
Public method Script(ScriptOptions) Generates a Transact-SQL script that can be used to install or uninstall the Publisher.
Public method ToString() (Inherited from Object.)

Top

Properties

  Name Description
Public property CachePropertyChanges Gets or sets whether to cache changes made to the replication properties or to apply them immediately. (Inherited from ReplicationObject.)
Public property ConnectionContext Gets or sets the connection to an instance of Microsoft SQL Server. (Inherited from ReplicationObject.)
Public property DistributionDatabase Gets or sets the name of the distribution database used by the Publisher.
Public property DistributionPublications Returns the publications that exist at the Publisher.
Public property HeterogeneousLogReaderAgentExists Gets whether the Log Reader Agent job exists for the non-SQL Server Publisher.
Public property HeterogeneousLogReaderAgentProcessSecurity Gets the security context used by the Log Reader agent for a non-SQL Server Publisher.
Public property IsExistingObject Gets whether the object exists on the server or not. (Inherited from ReplicationObject.)
Public property Name Gets or sets the name of the Publisher instance of Microsoft SQL Server.
Public property PublisherSecurity Gets the security context used by replication agent when connecting to the Publisher.
Public property PublisherType Gets or sets the Publisher type.
Public property RegisteredSubscribers Returns the Subscribers that are subscribed to publications at the Publisher.
Public property SqlServerName Gets the name of the Microsoft SQL Server instance to which this object is connected. (Inherited from ReplicationObject.)
Public property Status Gets the Publisher status.
Public property ThirdParty Gets or sets whether the Publisher is a non-SQL Server Publisher.
Public property TransPublications Returns the transactional publications at the Publisher.
Public property TrustedDistributorConnection Infrastructure.
Public property UserData Gets or sets an object property that allows users to attach their own data to the object. (Inherited from ReplicationObject.)
Public property WorkingDirectory Gets or sets the name of the working directory used to store data and schema files for the publication.

Top