ArticleType Property (SQL-DMO)

The ArticleType property indicates the method used to determine source data for replication and user-overrides of default replication behaviors.

Applies To
MergeArticle Object TransArticle Object

Syntax

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

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.

Data Type

Long, enumerated

Modifiable

Read/write

Prototype (C/C++)

HRESULT GetArticleType(SQLDMO_ARTICLE_TYPE* pRetVal);

HRESULT SetArticleType(SQLDMO_ARTICLE_TYPE NewValue);

  


(c) 1988-98 Microsoft Corporation. All Rights Reserved.