The ArticleType property indicates the method used to determine source data for replication and user-overrides of default replication behaviors.
MergeArticle Object | TransArticle Object |
object.ArticleType [= value]
Part | Description |
---|---|
object | Expression that evaluates to an object in the Applies To list |
value | Long integer specifying replication article data source as described in Settings |
Constant | Value | Description |
---|---|---|
SQLDMORep_LogBased | 1 | Article monitors the transaction log to determine source data. TransArticle object only. |
SQLDMORep_LogBasedManualBoth | 7 | Article monitors the transaction log to determine source data. The default view and filter procedure have been overridden. TransArticle object only. |
SQLDMORep_ LogBasedManualFilterProc |
3 | Article monitors the transaction log to determine source data. The default filter procedure has been overridden. TransArticle object only. |
SQLDMORep_ LogBasedManualSyncView |
5 | Article monitors the transaction log to determine source data. The default view has been overridden. TransArticle object only. |
SQLDMORep_ LogBasedVerticalPartition |
6 | Article monitors the transaction log to determine source data. The source data has been partitioned by column. TransArticle object only. |
SQLDMORep_ProcExecution | 8 | Article uses stored procedure execution to determine source data. TransArticle object only. |
SQLDMORep_ SerializableProcExecution |
24 | Article uses stored procedure execution to determine source data. The stored procedure is executed within a serializable transaction. TransArticle object only. |
SQLDMORep_TableBased | 10 | Article monitors a table to determine replicated data. TransArticle object only. |
Long, enumerated
Read/write
HRESULT GetArticleType(SQLDMO_ARTICLE_TYPE* pRetVal);
HRESULT SetArticleType(SQLDMO_ARTICLE_TYPE NewValue);