다음을 통해 공유


HasRowVersionColumn Property

Microsoft SQL Server의 이후 버전에서는 이 기능이 제거됩니다. 새 개발 작업에서는 이 기능을 사용하지 말고, 현재 이 기능을 사용하는 응용 프로그램은 수정하십시오.

The HasRowVersionColumn property specifies whether a table has a column named msrepl_tran_version.

구문

object
.HasRowVersionColumn

Parts

  • object
    An expression that evaluates to an object in the Applies To list
  • value
    TRUE or FALSE

Data Type

Boolean

Modifiable

Read-only

Prototype (C/C++)

HRESULT GetHasRowVersionColumn(LPBOOL pRetVal);

주의

Microsoft SQL Server requires that all articles in a transactional or snapshot publication that allow updatable subscriptions contain a unique identifier column named msrepl_tran_version, which is used to track changes to the replicated data. The HasRowVersionColumn property returns TRUE if a table already has a column named msrepl_tran_version. If HasRowVersionColumn returns FALSE, the msrepl_tran_version column is added to tables in transactional or snapshot publications that allow updatable subscriptions.

[!참고] If an application calls HasRowVersionColumn on an instance of SQL Server version 7.0, FALSE is returned.

Applies To:

ReplicationTable2 Object