共用方式為


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.

執行緒安全性

這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。

請參閱

參考

Microsoft.SqlServer.Replication 命名空間

其他資源

發行資料和資料庫物件