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 whether or not the table has at least one column of the bigint data type.
公共属性 HasBigIntIdentityColumn Gets whether or not the table has at least one identity column of the bigint data type.
公共属性 HasColumnSetColumn Gets whether the table has a column set defined.
公共属性 HasGuidColumn Gets whether or not the table has at least one globally unique identifier column.
公共属性 HasHierarchyidColumn Gets whether the table has a hierarchyid type column.
公共属性 HasIdentityColumn Gets whether or not the table has at least one identity column.
公共属性 HasIdentityNotForReplicationColumn Gets whether or not the table has an identity column with the NOT FOR REPLICATION option set.
公共属性 HasImprecisePKColumn Gets whether or not an imprecise computed column is used as part of the primary key.
公共属性 HasPrimaryKey Gets whether or not the table has a primary key.
公共属性 HasRowVersionColumn Gets whether or not a column exists in the table with the name msrepl_tran_version.
公共属性 HasSparseColumn Gets whether the table has a column with the SPARSE attribute.
公共属性 HasSqlVariantColumn Gets whether or not the table has a sql_variant type column.
公共属性 HasTimestampColumn Gets whether or not the table has a timestamp type column.
公共属性 IsExistingObject Gets whether the object exists on the server or not. (从 ReplicationObject 继承。)
公共属性 Name Gets or sets the name of the table.
公共属性 OwnerName Gets or sets the name of table owner.
公共属性 PublishedInMerge Gets whether or not the table is published in a merge publication.
公共属性 PublishedInPeerToPeerPublication Gets whether or not the table is published in a peer-to-peer transactional replication topology.
公共属性 PublishedInQueuedTransactions Gets 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 继承。)

页首

方法

  名称 说明
受保护方法 CheckValidCreation 基础结构。 (从 ReplicationObject 继承。)
受保护方法 CheckValidDefinition 基础结构。 (从 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 继承。)
受保护方法 Finalize (从 Object 继承。)
受保护方法 GetChangeCommand 基础结构。 (从 ReplicationObject 继承。)
受保护方法 GetCreateCommand 基础结构。 (从 ReplicationObject 继承。)
受保护方法 GetDropCommand 基础结构。 (从 ReplicationObject 继承。)
公共方法 GetHashCode (从 Object 继承。)
公共方法 GetType (从 Object 继承。)
受保护方法 InternalRefresh 基础结构。 (从 ReplicationObject 继承。)
公共方法 Load Loads the properties of an existing object from the server. (从 ReplicationObject 继承。)
公共方法 LoadProperties Loads the properties of an existing object from the server. (从 ReplicationObject 继承。)
受保护方法 MemberwiseClone (从 Object 继承。)
公共方法 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 继承。)

页首

注释

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.

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。