Partager via


Classe ReplicationTable

Represents information on a table object that is required by replication.

Hiérarchie d'héritage

System.Object
  Microsoft.SqlServer.Replication.ReplicationObject
    Microsoft.SqlServer.Replication.ReplicationTable

Espace de noms :  Microsoft.SqlServer.Replication
Assembly :  Microsoft.SqlServer.Rmo (en Microsoft.SqlServer.Rmo.dll)

Syntaxe

'Déclaration
Public NotInheritable Class ReplicationTable _
    Inherits ReplicationObject _
    Implements IReplicationDBObject
'Utilisation
Dim instance As ReplicationTable
public sealed class ReplicationTable : ReplicationObject, 
    IReplicationDBObject
public ref class ReplicationTable sealed : public ReplicationObject, 
    IReplicationDBObject
[<SealedAttribute>]
type ReplicationTable =  
    class 
        inherit ReplicationObject 
        interface IReplicationDBObject 
    end
public final class ReplicationTable extends ReplicationObject implements IReplicationDBObject

Le type ReplicationTable expose les membres suivants.

Constructeurs

  Nom Description
Méthode publique ReplicationTable() Creates a new instance of the ReplicationTable class.
Méthode publique ReplicationTable(String, String, String, ServerConnection) Creates a new instance of the ReplicationTable class with the specified name and owner, on the specified database, and with the specified connection to an instance of Microsoft SQL Server.

Haut de la page

Propriétés

  Nom Description
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 DatabaseName Gets or sets the name of the database that contains the replication table.
Propriété publique HasBigIntColumn Gets a value that indicates whether or not the table has at least one column of the bigint data type.
Propriété publique HasBigIntIdentityColumn Gets a value that indicates whether or not the table has at least one identity column of the bigint data type.
Propriété publique HasColumnSetColumn Gets a value that indicates whether the table has a column set defined.
Propriété publique HasGuidColumn Gets a value that indicates whether or not the table has at least one globally unique identifier column.
Propriété publique HasHierarchyidColumn Gets a value that indicates whether the table has a hierarchyid type column.
Propriété publique HasIdentityColumn Gets a value that indicates whether or not the table has at least one identity column.
Propriété publique HasIdentityNotForReplicationColumn Gets a value that indicates whether or not the table has an identity column with the NOT FOR REPLICATION option set.
Propriété publique HasImprecisePKColumn Gets a value that indicates whether or not an imprecise computed column is used as part of the primary key.
Propriété publique HasPrimaryKey Gets a value that indicates whether or not the table has a primary key.
Propriété publique HasRowVersionColumn Gets a value that indicates whether or not a column exists in the table with the name msrepl_tran_version.
Propriété publique HasSparseColumn Gets a value that indicates whether the table has a column with the SPARSE attribute.
Propriété publique HasSqlVariantColumn Gets a value that indicates whether or not the table has a sql_variant type column.
Propriété publique HasTimestampColumn Gets a value that indicates whether or not the table has a timestamp type column.
Propriété publique IsExistingObject Gets whether the object exists on the server or not. (hérité de ReplicationObject.)
Propriété publique IsFileTable Gets a value that indicates whether the table is a file table.
Propriété publique Name Gets or sets the name of the table.
Propriété publique OwnerName Gets or sets the name of table owner.
Propriété publique PublishedInMerge Gets a value that indicates whether or not the table is published in a merge publication.
Propriété publique PublishedInPeerToPeerPublication Gets a value that indicates whether or not the table is published in a peer-to-peer transactional replication topology.
Propriété publique PublishedInQueuedTransactions Gets a value that indicates whether or not the table is published by a publication that supports queued updating subscriptions.
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 TableId Gets the object ID of the table.
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.)

Haut de la page

Méthodes

  Nom Description
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 Decouple Decouples the referenced replication object from the server. (hérité de ReplicationObject.)
Méthode publique EnumIdentityRangeInfo Returns identity range information about articles based on the table.
Méthode publique EnumReplicationColumns Returns the columns from the table that can be replicated.
Méthode publique Equals (hérité de Object.)
Méthode publique GetHashCode (hérité de Object.)
Méthode publique GetType (hérité de Object.)
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 publique Refresh Reloads the properties of the object. (hérité de ReplicationObject.)
Méthode publique ReplicationAddColumn Adds a column to a table that is already published in one or more publications.
Méthode publique ReplicationDropColumn Removes a column from a table that is published in one or more publications.
Méthode publique ToString (hérité de Object.)

Haut de la page

Notes

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.

Sécurité des threads

Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.

Voir aussi

Référence

Espace de noms Microsoft.SqlServer.Replication

Autres ressources

Publier des données et des objets de base de données