Compartir a través de


Clase ReplicationTable

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

Jerarquía de herencia

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

Espacio de nombres:  Microsoft.SqlServer.Replication
Ensamblado:  Microsoft.SqlServer.Rmo (en Microsoft.SqlServer.Rmo.dll)

Sintaxis

'Declaración
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

El tipo ReplicationTable expone los siguientes miembros.

Constructores

  Nombre Descripción
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.

Arriba

Propiedades

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

Arriba

Métodos

  Nombre Descripción
Método público CommitPropertyChanges Sends all the cached property change statements to the instance of Microsoft SQL Server. (Se hereda de ReplicationObject.)
Método público Decouple Decouples the referenced replication object from the server. (Se hereda 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 (Se hereda de Object.)
Método público GetHashCode (Se hereda de Object.)
Método público GetType (Se hereda de Object.)
Método público Load Loads the properties of an existing object from the server. (Se hereda de ReplicationObject.)
Método público LoadProperties Loads the properties of an existing object from the server. (Se hereda de ReplicationObject.)
Método público Refresh Reloads the properties of the object. (Se hereda 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 (Se hereda de Object.)

Arriba

Comentarios

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.

Seguridad para subprocesos

Cualquier miembro público static (Shared en Visual Basic) de este tipo es seguro para subprocesos. No se garantiza que los miembros de instancia sean seguros para subprocesos.

Vea también

Referencia

Espacio de nombres Microsoft.SqlServer.Replication

Otros recursos

Publicar datos y objetos de base de datos