次の方法で共有


ID Property (DistributionArticle2)

この機能は、将来のバージョンの Microsoft SQL Server では削除される予定です。新規の開発作業ではこの機能を使用しないようにし、現在この機能を使用しているアプリケーションは修正することを検討してください。

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]

Parts

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

Data Type

Long

Modifiable

Read/write

Prototype (C/C++)

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(ja-jp,SQL.90).gifメモ :
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.

Applies To:

DistributionArticle2 Object