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.
[!참고] 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.