Delen via


DistributionPublication Members

Represents information about a transactional or snapshot publication stored at the Distributor.

The following tables list the members exposed by the DistributionPublication type.

Public Constructors

  Name Description
DistributionPublication Overloaded. Creates a new instance of the DistributionPublication class.

Top

Public Properties

  Name Description
ms155953.pubproperty(en-US,SQL.90).gif Attributes Gets or sets the publication attributes for the distribution publication.
ms155953.pubproperty(en-US,SQL.90).gif CachePropertyChanges  Gets or sets whether to cache changes made to the replication properties or to apply them immediately. (inherited from ReplicationObject)
ms155953.pubproperty(en-US,SQL.90).gif ConnectionContext  Gets or sets the connection to an instance of Microsoft SQL Server. (inherited from ReplicationObject)
ms155953.pubproperty(en-US,SQL.90).gif Description Gets or sets a description for the publication.
ms155953.pubproperty(en-US,SQL.90).gif DistributionArticles Returns information about the articles in the publication stored at the Distributor.
ms155953.pubproperty(en-US,SQL.90).gif DistributionDBName Gets or sets the name of the distribution database for the publication.
ms155953.pubproperty(en-US,SQL.90).gif DistributionSubscriptions Represents information about subscriptions to the publication stored at the Distributor.
ms155953.pubproperty(en-US,SQL.90).gif IsExistingObject  Gets whether the object exists on the server or not. (inherited from ReplicationObject)
ms155953.pubproperty(en-US,SQL.90).gif LogReaderAgent Gets or sets the name of the Log Reader Agent job for the transactional publication.
ms155953.pubproperty(en-US,SQL.90).gif Name Gets or sets the name of the publication.
ms155953.pubproperty(en-US,SQL.90).gif PubId Gets the publication ID.
ms155953.pubproperty(en-US,SQL.90).gif PublicationDBName Gets or sets the name of the publication database.
ms155953.pubproperty(en-US,SQL.90).gif PublisherName Gets or sets the name of the Publisher.
ms155953.pubproperty(en-US,SQL.90).gif SnapshotAgent Gets or sets the name of the Snapshot Agent job for the transactional publication.
ms155953.pubproperty(en-US,SQL.90).gif SqlServerName  Gets the name of the Microsoft SQL Server instance to which this object is connected. (inherited from ReplicationObject)
ms155953.pubproperty(en-US,SQL.90).gif Type Gets or sets the type of replication for this publication.
ms155953.pubproperty(en-US,SQL.90).gif UserData  Gets or sets an object property that allows users to attach their own data to the object. (inherited from ReplicationObject)
ms155953.pubproperty(en-US,SQL.90).gif VendorName Gets or sets the product manufacturer of the non-SQL Server Publisher of the publication.

Top

Public Methods

(see also Protected Methods )

  Name Description
ms155953.pubmethod(en-US,SQL.90).gif CommitPropertyChanges  Sends all the cached property change statements to the instance of Microsoft SQL Server. (inherited from ReplicationObject)
ms155953.pubmethod(en-US,SQL.90).gif Create Creates the publication metadata at the Distributor.
ms155953.pubmethod(en-US,SQL.90).gif Decouple  Decouples the referenced replication object from the server. (inherited from ReplicationObject)
ms155953.pubmethod(en-US,SQL.90).gif EnumDistributionArticles Returns information maintained at the Distributor on articles in this publication.
ms155953.pubmethod(en-US,SQL.90).gif EnumDistributionSubscriptions Returns information maintained at the Distributor for subscriptions to this publication.
ms155953.pubmethod(en-US,SQL.90).gif Equals  Overloaded. (inherited from Object )
ms155953.pubmethod(en-US,SQL.90).gif GetHashCode  (inherited from Object )
ms155953.pubmethod(en-US,SQL.90).gif GetType  (inherited from Object )
ms155953.pubmethod(en-US,SQL.90).gif Load  Loads the properties of an existing object from the server. (inherited from ReplicationObject)
ms155953.pubmethod(en-US,SQL.90).gif LoadProperties  Loads the properties of an existing object from the server. (inherited from ReplicationObject)
ms155953.pubmethod(en-US,SQL.90).gifms155953.static(en-US,SQL.90).gif ReferenceEquals  (inherited from Object )
ms155953.pubmethod(en-US,SQL.90).gif Refresh  Reloads the properties of the object. (inherited from ReplicationObject)
ms155953.pubmethod(en-US,SQL.90).gif Remove Removes metadata for the publication from the Distributor.
ms155953.pubmethod(en-US,SQL.90).gif Script Generates a Transact-SQL script that can be used to create or remove the publication metadata at the Distributor.
ms155953.pubmethod(en-US,SQL.90).gif ToString  (inherited from Object )

Top

Protected Methods

  Name Description
ms155953.protmethod(en-US,SQL.90).gif CheckValidCreation  (inherited from ReplicationObject )
ms155953.protmethod(en-US,SQL.90).gif CheckValidDefinition  (inherited from ReplicationObject )
ms155953.protmethod(en-US,SQL.90).gif Finalize  (inherited from Object )
ms155953.protmethod(en-US,SQL.90).gif GetChangeCommand  (inherited from ReplicationObject )
ms155953.protmethod(en-US,SQL.90).gif GetCreateCommand  (inherited from ReplicationObject )
ms155953.protmethod(en-US,SQL.90).gif GetDropCommand  (inherited from ReplicationObject )
ms155953.protmethod(en-US,SQL.90).gif InternalRefresh  (inherited from ReplicationObject )
ms155953.protmethod(en-US,SQL.90).gif MemberwiseClone  (inherited from Object )

Top

See Also

Reference

DistributionPublication Class
Microsoft.SqlServer.Replication Namespace