ID Property (DistributionArticle2)

This feature will be removed in a future version of Microsoft SQL Server. Avoid using this feature in new development work, and plan to modify applications that currently use this feature.

The ID property exists for Microsoft SQL Server replication components with defined identifiers. It is a read/write property when used with the DistributionArticle2 object.


object.ID [= value]

object

An expression that evaluates to an object in the Applies To list

value

Modify

Long

Read/write

HRESULT GetID(LPLONG pRetVal);
HRESULT SetID(LONG lNewValue);

The ID property of the DistributionArticle2 object is designed to allow an application to set a user-defined distribution article ID when creating a third-party article. The ID must be unique, or an error occurs.

ms133549.note(en-US,SQL.90).gifNote:
ID can be set only with instances of SQL Server 2000 or later. However, the value of ID can be retrieved with SQL Server version 7.0 or later.

Community Additions

ADD
Show: