DistributionPublisher Members
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 | |
---|---|---|
CachePropertyChanges | Gets or sets whether to cache changes made to the replication properties or to apply them immediately. (inherited from ReplicationObject) | |
ConnectionContext | Gets or sets the connection to an instance of Microsoft SQL Server. (inherited from ReplicationObject) | |
DistributionDatabase | Gets or sets the name of the distribution database used by the Publisher. | |
DistributionPublications | Returns the publications that exist at the Publisher. | |
HeterogeneousLogReaderAgentExists | Gets whether the Log Reader Agent job exists for the non-SQL Server Publisher. | |
HeterogeneousLogReaderAgentProcessSecurity | Gets the security context used by the Log Reader agent for a non-SQL Server Publisher. | |
IsExistingObject | Gets whether the object exists on the server or not. (inherited from ReplicationObject) | |
Name | Gets or sets the name of the Publisher instance of Microsoft SQL Server. | |
PublisherSecurity | Gets the security context used by replication agent when connecting to the Publisher. | |
PublisherType | Gets or sets the Publisher type. | |
RegisteredSubscribers | Returns the Subscribers that are subscribed to publications at the Publisher. | |
SqlServerName | Gets the name of the Microsoft SQL Server instance to which this object is connected. (inherited from ReplicationObject) | |
Status | Gets the Publisher status. | |
ThirdParty | Gets or sets whether the Publisher is a non-SQL Server Publisher. | |
TransPublications | Returns the transactional publications at the Publisher. | |
TrustedDistributorConnection | ||
UserData | Gets or sets an object property that allows users to attach their own data to the object. (inherited from ReplicationObject) | |
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 | |
---|---|---|
CommitPropertyChanges | Sends all the cached property change statements to the instance of Microsoft SQL Server. (inherited from ReplicationObject) | |
Create | Registers the Publisher with the specified properties at the Distributor. | |
CreateHeterogeneousLogReaderAgent | Creates a Log Reader Agent job for a non-SQL Server Publisher. | |
Decouple | Decouples the referenced replication object from the server. (inherited from ReplicationObject) | |
EnumDistributionPublications | Returns information stored at the Distributor about publications at this Publisher. | |
EnumRegisteredSubscribers | Returns information stored at the Distributor about Subscribers to publications at this Publisher. | |
EnumTransPublications | Returns information at the Distributor about transactional publications at this Publisher. | |
Equals | Overloaded. (inherited from Object ) | |
GetHashCode | (inherited from Object ) | |
GetType | (inherited from Object ) | |
Load | Loads the properties of an existing object from the server. (inherited from ReplicationObject) | |
LoadProperties | Loads the properties of an existing object from the server. (inherited from ReplicationObject) | |
ReferenceEquals | (inherited from Object ) | |
Refresh | Reloads the properties of the object. (inherited from ReplicationObject) | |
Remove | Removes the registration for this Publisher from the currently connected Distributor. | |
Script | Generates a Transact-SQL script that can be used to install or uninstall the Publisher. | |
ToString | (inherited from Object ) |
頂端
Protected Methods
名稱 | Description | |
---|---|---|
CheckValidCreation | (inherited from ReplicationObject ) | |
CheckValidDefinition | (inherited from ReplicationObject ) | |
Finalize | (inherited from Object ) | |
GetChangeCommand | (inherited from ReplicationObject ) | |
GetCreateCommand | (inherited from ReplicationObject ) | |
GetDropCommand | (inherited from ReplicationObject ) | |
InternalRefresh | (inherited from ReplicationObject ) | |
MemberwiseClone | (inherited from Object ) |
頂端
請參閱
參考
DistributionPublisher Class
Microsoft.SqlServer.Replication Namespace
其他資源
How to: Configure Publishing and Distribution (RMO Programming)