IDTSBulkInsertTask.KeepIdentity 속성
이 API는 SQL Server 2012 인프라를 지원하기 위한 것으로 코드에서 직접 사용할 수 없습니다.
Gets or sets a value that specifies how identity value or values in the imported data file are used for the identity column.
네임스페이스: Microsoft.SqlServer.Dts.Tasks.BulkInsertTask
어셈블리: Microsoft.SqlServer.BulkInsertTask(Microsoft.SqlServer.BulkInsertTask.dll)
구문
‘선언
Property KeepIdentity As Boolean
Get
Set
‘사용 방법
Dim instance As IDTSBulkInsertTask
Dim value As Boolean
value = instance.KeepIdentity
instance.KeepIdentity = value
bool KeepIdentity { get; set; }
property bool KeepIdentity {
bool get ();
void set (bool value);
}
abstract KeepIdentity : bool with get, set
function get KeepIdentity () : boolean
function set KeepIdentity (value : boolean)
속성 값
유형: System.Boolean
true if identity value or values in the imported data file should be used for the identity column. true assigns the values that are specified in the source file to the identity column; false ignores the identity-column values that are specified in the source. The default value is true.
주의
For more information, see BulkInsertTask.