Share via


SqlBatchCommand 클래스

정의

SqlBatchCommand를 사용하면 SqlBatch에서 여러 SQL 명령을 실행할 수 있습니다.

public ref class SqlBatchCommand
public ref class SqlBatchCommand : System::Data::Common::DbBatchCommand
public class SqlBatchCommand
public class SqlBatchCommand : System.Data.Common.DbBatchCommand
type SqlBatchCommand = class
type SqlBatchCommand = class
    inherit DbBatchCommand
Public Class SqlBatchCommand
Public Class SqlBatchCommand
Inherits DbBatchCommand
상속
SqlBatchCommand
상속
SqlBatchCommand

생성자

SqlBatchCommand()

SqlBatchCommand를 초기화합니다.

SqlBatchCommand(String, CommandType, IEnumerable<SqlParameter>, SqlCommandColumnEncryptionSetting)

SqlBatchCommand를 초기화합니다.

속성

CanCreateParameter

메서드가 CreateParameter() 구현되었는지 여부를 반환합니다.

ColumnEncryptionSetting

현재 구현되지 않습니다. 암호화 설정입니다. 자세한 내용은 Always Encrypted를 참조하세요.

CommandBehavior

문 실행 및 데이터 검색 옵션을 나타내는 CommandBehavior 값 중 하나입니다.

CommandText

데이터 소스에 대해 실행할 텍스트 명령을 가져오거나 설정합니다.

CommandType

속성이 CommandText 해석되는 방법을 가져오거나 설정합니다.

DbParameterCollection

SqlParameter 개체의 컬렉션을 가져옵니다.

Parameters

SqlParameterCollection를 가져옵니다.

RecordsAffected

이 특정 SqlBatchCommand의 실행에 의해 변경, 삽입 또는 삭제된 행 수를 가져옵니다.

메서드

CreateParameter()

SqlParameter 개체의 새 인스턴스를 만듭니다.

적용 대상