Condividi tramite


Classe ReplicationTable

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

Gerarchia di ereditarietà

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

Spazio dei nomi  Microsoft.SqlServer.Replication
Assembly:  Microsoft.SqlServer.Rmo (in Microsoft.SqlServer.Rmo.dll)

Sintassi

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

Nel tipo ReplicationTable sono esposti i membri seguenti.

Costruttori

  Nome Descrizione
Metodo pubblico ReplicationTable() Creates a new instance of the ReplicationTable class.
Metodo pubblico 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.

In alto

Proprietà

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

In alto

Metodi

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

In alto

Osservazioni

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.

Protezione dei thread

I membri static (Shared in Visual Basic) pubblici di questo tipo sono affidabili. Non è invece garantita la sicurezza dei membri dell'istanza.

Vedere anche

Riferimento

Spazio dei nomi Microsoft.SqlServer.Replication

Altre risorse

Pubblicazione di dati e oggetti di database