Compartilhar via


Classe ReplicationTable

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

Hierarquia de herança

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

Namespace:  Microsoft.SqlServer.Replication
Assembly:  Microsoft.SqlServer.Rmo (em Microsoft.SqlServer.Rmo.dll)

Sintaxe

'Declaração
Public NotInheritable Class ReplicationTable _
    Inherits ReplicationObject _
    Implements IReplicationDBObject
'Uso
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

O tipo ReplicationTable expõe os membros a seguir.

Construtores

  Nome Descrição
Método público ReplicationTable() () () () Creates a new instance of the ReplicationTable class.
Método público 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.

Início

Propriedades

  Nome Descrição
Propriedade pública CachePropertyChanges Gets or sets whether to cache changes made to the replication properties or to apply them immediately. (Herdado de ReplicationObject.)
Propriedade pública ConnectionContext Gets or sets the connection to an instance of Microsoft SQL Server. (Herdado de ReplicationObject.)
Propriedade pública DatabaseName Gets or sets the name of the database that contains the replication table.
Propriedade pública HasBigIntColumn Gets whether or not the table has at least one column of the bigint data type.
Propriedade pública HasBigIntIdentityColumn Gets whether or not the table has at least one identity column of the bigint data type.
Propriedade pública HasColumnSetColumn Gets whether the table has a column set defined.
Propriedade pública HasGuidColumn Gets whether or not the table has at least one globally unique identifier column.
Propriedade pública HasHierarchyidColumn Gets whether the table has a hierarchyid type column.
Propriedade pública HasIdentityColumn Gets whether or not the table has at least one identity column.
Propriedade pública HasIdentityNotForReplicationColumn Gets whether or not the table has an identity column with the NOT FOR REPLICATION option set.
Propriedade pública HasImprecisePKColumn Gets whether or not an imprecise computed column is used as part of the primary key.
Propriedade pública HasPrimaryKey Gets whether or not the table has a primary key.
Propriedade pública HasRowVersionColumn Gets whether or not a column exists in the table with the name msrepl_tran_version.
Propriedade pública HasSparseColumn Gets whether the table has a column with the SPARSE attribute.
Propriedade pública HasSqlVariantColumn Gets whether or not the table has a sql_variant type column.
Propriedade pública HasTimestampColumn Gets whether or not the table has a timestamp type column.
Propriedade pública IsExistingObject Gets whether the object exists on the server or not. (Herdado de ReplicationObject.)
Propriedade pública Name Gets or sets the name of the table.
Propriedade pública OwnerName Gets or sets the name of table owner.
Propriedade pública PublishedInMerge Gets whether or not the table is published in a merge publication.
Propriedade pública PublishedInPeerToPeerPublication Gets whether or not the table is published in a peer-to-peer transactional replication topology.
Propriedade pública PublishedInQueuedTransactions Gets whether or not the table is published by a publication that supports queued updating subscriptions.
Propriedade pública SqlServerName Gets the name of the Microsoft SQL Server instance to which this object is connected. (Herdado de ReplicationObject.)
Propriedade pública TableId Gets the object ID of the table.
Propriedade pública UserData Gets or sets an object property that allows users to attach their own data to the object. (Herdado de ReplicationObject.)

Início

Métodos

  Nome Descrição
Método protegido CheckValidCreation Infraestrutura. (Herdado de ReplicationObject.)
Método protegido CheckValidDefinition Infraestrutura. (Herdado de ReplicationObject.)
Método público CommitPropertyChanges Sends all the cached property change statements to the instance of Microsoft SQL Server. (Herdado de ReplicationObject.)
Método público Decouple Decouples the referenced replication object from the server. (Herdado de ReplicationObject.)
Método público EnumIdentityRangeInfo Returns identity range information about articles based on the table.
Método público EnumReplicationColumns Returns the columns from the table that can be replicated.
Método público Equals (Herdado de Object.)
Método protegido Finalize (Herdado de Object.)
Método protegido GetChangeCommand Infraestrutura. (Herdado de ReplicationObject.)
Método protegido GetCreateCommand Infraestrutura. (Herdado de ReplicationObject.)
Método protegido GetDropCommand Infraestrutura. (Herdado de ReplicationObject.)
Método público GetHashCode (Herdado de Object.)
Método público GetType (Herdado de Object.)
Método protegido InternalRefresh Infraestrutura. (Herdado de ReplicationObject.)
Método público Load Loads the properties of an existing object from the server. (Herdado de ReplicationObject.)
Método público LoadProperties Loads the properties of an existing object from the server. (Herdado de ReplicationObject.)
Método protegido MemberwiseClone (Herdado de Object.)
Método público Refresh Reloads the properties of the object. (Herdado de ReplicationObject.)
Método público ReplicationAddColumn Adds a column to a table that is already published in one or more publications.
Método público ReplicationDropColumn Removes a column from a table that is published in one or more publications.
Método público ToString (Herdado de Object.)

Início

Comentários

This namespace, class, or member is supported only in version 2.0 of the .NET Framework.

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.

Segurança de thread

Qualquer membro público static (Shared no Visual Basic) desse tipo é seguro para threads. Não há garantia de que qualquer membro de instância seja seguro para threads.