Класс ReplicationTable

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

Иерархия наследования

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

Пространство имен:  Microsoft.SqlServer.Replication
Сборка:  Microsoft.SqlServer.Rmo (в Microsoft.SqlServer.Rmo.dll)

Синтаксис

'Декларация
Public NotInheritable Class ReplicationTable _
    Inherits ReplicationObject _
    Implements IReplicationDBObject
'Применение
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

Тип ReplicationTable обеспечивает доступ к следующим элементам.

Конструкторы

  Имя Описание
Открытый метод ReplicationTable() Creates a new instance of the ReplicationTable class.
Открытый метод 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.

В начало

Свойства

  Имя Описание
Открытое свойство CachePropertyChanges Gets or sets whether to cache changes made to the replication properties or to apply them immediately. (Производный от ReplicationObject.)
Открытое свойство ConnectionContext Gets or sets the connection to an instance of Microsoft SQL Server. (Производный от ReplicationObject.)
Открытое свойство DatabaseName Gets or sets the name of the database that contains the replication table.
Открытое свойство HasBigIntColumn Gets a value that indicates whether or not the table has at least one column of the bigint data type.
Открытое свойство HasBigIntIdentityColumn Gets a value that indicates whether or not the table has at least one identity column of the bigint data type.
Открытое свойство HasColumnSetColumn Gets a value that indicates whether the table has a column set defined.
Открытое свойство HasGuidColumn Gets a value that indicates whether or not the table has at least one globally unique identifier column.
Открытое свойство HasHierarchyidColumn Gets a value that indicates whether the table has a hierarchyid type column.
Открытое свойство HasIdentityColumn Gets a value that indicates whether or not the table has at least one identity column.
Открытое свойство HasIdentityNotForReplicationColumn Gets a value that indicates whether or not the table has an identity column with the NOT FOR REPLICATION option set.
Открытое свойство HasImprecisePKColumn Gets a value that indicates whether or not an imprecise computed column is used as part of the primary key.
Открытое свойство HasPrimaryKey Gets a value that indicates whether or not the table has a primary key.
Открытое свойство HasRowVersionColumn Gets a value that indicates whether or not a column exists in the table with the name msrepl_tran_version.
Открытое свойство HasSparseColumn Gets a value that indicates whether the table has a column with the SPARSE attribute.
Открытое свойство HasSqlVariantColumn Gets a value that indicates whether or not the table has a sql_variant type column.
Открытое свойство HasTimestampColumn Gets a value that indicates whether or not the table has a timestamp type column.
Открытое свойство IsExistingObject Gets whether the object exists on the server or not. (Производный от ReplicationObject.)
Открытое свойство IsFileTable Gets a value that indicates whether the table is a file table.
Открытое свойство Name Gets or sets the name of the table.
Открытое свойство OwnerName Gets or sets the name of table owner.
Открытое свойство PublishedInMerge Gets a value that indicates whether or not the table is published in a merge publication.
Открытое свойство PublishedInPeerToPeerPublication Gets a value that indicates whether or not the table is published in a peer-to-peer transactional replication topology.
Открытое свойство PublishedInQueuedTransactions Gets a value that indicates whether or not the table is published by a publication that supports queued updating subscriptions.
Открытое свойство SqlServerName Gets the name of the Microsoft SQL Server instance to which this object is connected. (Производный от ReplicationObject.)
Открытое свойство TableId Gets the object ID of the table.
Открытое свойство UserData Gets or sets an object property that allows users to attach their own data to the object. (Производный от ReplicationObject.)

В начало

Методы

  Имя Описание
Открытый метод CommitPropertyChanges Sends all the cached property change statements to the instance of Microsoft SQL Server. (Производный от ReplicationObject.)
Открытый метод Decouple Decouples the referenced replication object from the server. (Производный от ReplicationObject.)
Открытый метод EnumIdentityRangeInfo Returns identity range information about articles based on the table.
Открытый метод EnumReplicationColumns Returns the columns from the table that can be replicated.
Открытый метод Equals (Производный от Object.)
Открытый метод GetHashCode (Производный от Object.)
Открытый метод GetType (Производный от Object.)
Открытый метод Load Loads the properties of an existing object from the server. (Производный от ReplicationObject.)
Открытый метод LoadProperties Loads the properties of an existing object from the server. (Производный от ReplicationObject.)
Открытый метод Refresh Reloads the properties of the object. (Производный от ReplicationObject.)
Открытый метод ReplicationAddColumn Adds a column to a table that is already published in one or more publications.
Открытый метод ReplicationDropColumn Removes a column from a table that is published in one or more publications.
Открытый метод ToString (Производный от Object.)

В начало

Замечания

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.

Безопасность многопоточности

Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.

См. также

Справочник

Пространство имен Microsoft.SqlServer.Replication

Другие ресурсы

Публикация данных и объектов базы данных