다음을 통해 공유


IncludeIdentityValues Property

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

The IncludeIdentityValues property controls the handling of existing values for a column with the Microsoft SQL Server identity property when data is copied to the SQL Server table.

구문

object
.IncludeIdentityValues [= value]

Parts

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

Data Type

Boolean

Modifiable

Read/write

Prototype (C/C++)

HRESULT GetIncludeIdentityValues(LPBOOL pRetVal);
HRESULT SetIncludeIdentityValues(BOOL NewValue);

주의

If TRUE, SQL Distributed Management Objects (SQL-DMO) runs a SET IDENTITY_INSERT ON statement when the ImportData method of a Table object is called.

If FALSE, SQL-DMO ignores any data values present for a column with the identity property. SQL Server generates data values for the column by using the column's setting for identity seed and increment. The default is FALSE.

Applies To:

BulkCopy Object

참고 항목

관련 자료

SET IDENTITY_INSERT(Transact-SQL)

도움말 및 정보

SQL Server 2005 지원 받기