Freigeben über


ReplicationTable-Klasse

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

Vererbungshierarchie

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

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

Syntax

'Declaration
Public NotInheritable Class ReplicationTable _
    Inherits ReplicationObject _
    Implements IReplicationDBObject
'Usage
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

Der ReplicationTable-Typ macht folgende Elemente verfügbar.

Konstruktoren

  Name Beschreibung
Öffentliche Methode ReplicationTable() Creates a new instance of the ReplicationTable class.
Öffentliche Methode 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.

Zum Anfang

Eigenschaften

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

Zum Anfang

Methoden

  Name Beschreibung
Öffentliche Methode CommitPropertyChanges Sends all the cached property change statements to the instance of Microsoft SQL Server. (Geerbt von ReplicationObject.)
Öffentliche Methode Decouple Decouples the referenced replication object from the server. (Geerbt von ReplicationObject.)
Öffentliche Methode EnumIdentityRangeInfo Returns identity range information about articles based on the table.
Öffentliche Methode EnumReplicationColumns Returns the columns from the table that can be replicated.
Öffentliche Methode Equals (Geerbt von Object.)
Öffentliche Methode GetHashCode (Geerbt von Object.)
Öffentliche Methode GetType (Geerbt von Object.)
Öffentliche Methode Load Loads the properties of an existing object from the server. (Geerbt von ReplicationObject.)
Öffentliche Methode LoadProperties Loads the properties of an existing object from the server. (Geerbt von ReplicationObject.)
Öffentliche Methode Refresh Reloads the properties of the object. (Geerbt von ReplicationObject.)
Öffentliche Methode ReplicationAddColumn Adds a column to a table that is already published in one or more publications.
Öffentliche Methode ReplicationDropColumn Removes a column from a table that is published in one or more publications.
Öffentliche Methode ToString (Geerbt von Object.)

Zum Anfang

Hinweise

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.

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic)-Elemente dieses Typs sind Threadsicher. Für Instanzelemente wird die Threadsicherheit nicht gewährleistet.

Siehe auch

Verweis

Microsoft.SqlServer.Replication-Namespace

Andere Ressourcen

Veröffentlichen von Daten und Datenbankobjekten