Status Property (MergeArticle) (SQL-DMO)

The Status property returns component execution or integrity state information.

Applies To

MergeArticle Object

Syntax

object.Status [= value]

Part Description
object Expression that evaluates to an object in the Applies To list
value Long integer identifying the status of the referenced component as described in Settings

Settings
Constant Value Description
SQLDMOArtStat_Active 2 Article is active
SQLDMOArtStat_Conflicts 3 Conflicting copies of article data exist
SQLDMOArtStat_Errors 4 Agent attempts to publish the article or resolve conflicts in copies of the article have resulted in errors
SQLDMOArtStat_Inactive 0 Article is inactive
SQLDMOArtStat_Unsynced 1 Initial snapshot of article has not been made or has not been retrieved by all Subscribers

Data Type

Long, enumerated

Modifiable

Read/write

Prototype (C/C++)

HRESULT GetStatus(SQLDMO_ARTSTATUS_TYPE* pRetVal);

HRESULT SetStatus(SQLDMO_ARTSTATUS_TYPE NewValue);

  


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