Partager via


Membres DistributionPublication

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

Le type DistributionPublication expose les membres suivants.

Constructeurs

  Nom Description
Méthode publique DistributionPublication() () () () Creates a new instance of the DistributionPublication class.
Méthode publique DistributionPublication(String, String, String, String, ServerConnection) Creates a new instance of the DistributionPublication class, with the required properties and with a connection to the Distributor.

Haut de la page

Méthodes

  Nom Description
Méthode protégée CheckValidCreation Infrastructure. (Hérité de ReplicationObject.)
Méthode protégée CheckValidDefinition Infrastructure. (Hérité de ReplicationObject.)
Méthode publique CommitPropertyChanges Sends all the cached property change statements to the instance of Microsoft SQL Server. (Hérité de ReplicationObject.)
Méthode publique Create Creates the publication metadata at the Distributor.
Méthode publique Decouple Decouples the referenced replication object from the server. (Hérité de ReplicationObject.)
Méthode publique EnumDistributionArticles Returns information maintained at the Distributor on articles in this publication.
Méthode publique EnumDistributionSubscriptions Returns information maintained at the Distributor for subscriptions to this publication.
Méthode publique Equals (Hérité de Object.)
Méthode protégée Finalize (Hérité de Object.)
Méthode protégée GetChangeCommand Infrastructure. (Hérité de ReplicationObject.)
Méthode protégée GetCreateCommand Infrastructure. (Hérité de ReplicationObject.)
Méthode protégée GetDropCommand Infrastructure. (Hérité de ReplicationObject.)
Méthode publique GetHashCode (Hérité de Object.)
Méthode publique GetType (Hérité de Object.)
Méthode protégée InternalRefresh Infrastructure. (Hérité de ReplicationObject.)
Méthode publique Load Loads the properties of an existing object from the server. (Hérité de ReplicationObject.)
Méthode publique LoadProperties Loads the properties of an existing object from the server. (Hérité de ReplicationObject.)
Méthode protégée MemberwiseClone (Hérité de Object.)
Méthode publique Refresh Reloads the properties of the object. (Hérité de ReplicationObject.)
Méthode publique Remove Removes metadata for the publication from the Distributor.
Méthode publique Script Generates a Transact-SQL script that can be used to create or remove the publication metadata at the Distributor.
Méthode publique ToString (Hérité de Object.)

Haut de la page

Propriétés

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

Haut de la page