148 lines
5.9 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="utf-8"?>
<Type Name="SqlBulkCopyOptions" FullName="System.Data.SqlClient.SqlBulkCopyOptions">
<TypeSignature Language="C#" Value="public enum SqlBulkCopyOptions" />
<AssemblyInfo>
<AssemblyName>System.Data</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Enum</BaseTypeName>
</Base>
<Attributes>
<Attribute>
<AttributeName>System.Flags</AttributeName>
</Attribute>
</Attributes>
<Docs>
<since version=".NET 2.0" />
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>You can use the <see cref="T:System.Data.SqlClient.SqlBulkCopyOptions" /> enumeration when you construct a <see cref="T:System.Data.SqlClient.SqlBulkCopy" /> instance to change how the <see cref="Overload:System.Data.SqlClient.SqlBulkCopy.WriteToServer" /> methods for that instance behave.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Bitwise flag that specifies one or more options to use with an instance of <see cref="T:System.Data.SqlClient.SqlBulkCopy" />.</para>
</summary>
</Docs>
<Members>
<Member MemberName="CheckConstraints">
<MemberSignature Language="C#" Value="CheckConstraints" />
<MemberType>Field</MemberType>
<ReturnValue>
<ReturnType>System.Data.SqlClient.SqlBulkCopyOptions</ReturnType>
</ReturnValue>
<Docs>
<since version=".NET 2.0" />
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Check constraints while data is being inserted. By default, constraints are not checked.</para>
</summary>
</Docs>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="Default">
<MemberSignature Language="C#" Value="Default" />
<MemberType>Field</MemberType>
<ReturnValue>
<ReturnType>System.Data.SqlClient.SqlBulkCopyOptions</ReturnType>
</ReturnValue>
<Docs>
<since version=".NET 2.0" />
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Use the default values for all options.</para>
</summary>
</Docs>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="FireTriggers">
<MemberSignature Language="C#" Value="FireTriggers" />
<MemberType>Field</MemberType>
<ReturnValue>
<ReturnType>System.Data.SqlClient.SqlBulkCopyOptions</ReturnType>
</ReturnValue>
<Docs>
<since version=".NET 2.0" />
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>When specified, cause the server to fire the insert triggers for the rows being inserted into the database.</para>
</summary>
</Docs>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="KeepIdentity">
<MemberSignature Language="C#" Value="KeepIdentity" />
<MemberType>Field</MemberType>
<ReturnValue>
<ReturnType>System.Data.SqlClient.SqlBulkCopyOptions</ReturnType>
</ReturnValue>
<Docs>
<since version=".NET 2.0" />
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Preserve source identity values. When not specified, identity values are assigned by the destination.</para>
</summary>
</Docs>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="KeepNulls">
<MemberSignature Language="C#" Value="KeepNulls" />
<MemberType>Field</MemberType>
<ReturnValue>
<ReturnType>System.Data.SqlClient.SqlBulkCopyOptions</ReturnType>
</ReturnValue>
<Docs>
<since version=".NET 2.0" />
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Preserve null values in the destination table regardless of the settings for default values. When not specified, null values are replaced by default values where applicable.</para>
</summary>
</Docs>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="TableLock">
<MemberSignature Language="C#" Value="TableLock" />
<MemberType>Field</MemberType>
<ReturnValue>
<ReturnType>System.Data.SqlClient.SqlBulkCopyOptions</ReturnType>
</ReturnValue>
<Docs>
<since version=".NET 2.0" />
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Obtain a bulk update lock for the duration of the bulk copy operation. When not specified, row locks are used.</para>
</summary>
</Docs>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="UseInternalTransaction">
<MemberSignature Language="C#" Value="UseInternalTransaction" />
<MemberType>Field</MemberType>
<ReturnValue>
<ReturnType>System.Data.SqlClient.SqlBulkCopyOptions</ReturnType>
</ReturnValue>
<Docs>
<since version=".NET 2.0" />
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>When specified, each batch of the bulk-copy operation will occur within a transaction. If you indicate this option and also provide a <see cref="T:System.Data.SqlClient.SqlTransaction" /> object to the constructor, an <see cref="T:System.ArgumentException" /> occurs.</para>
</summary>
</Docs>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
</Members>
</Type>