ICommandExecuter 인터페이스

정의

파서에서 명령을 실행하는 데 사용되는 메서드를 정의합니다.

public interface class ICommandExecuter
public interface ICommandExecuter
type ICommandExecuter = interface
Public Interface ICommandExecuter
파생

메서드

Connect(Int32, String, String, String)

SQL Server 인스턴스에 연결합니다.

Ed(String, IBatchSource)

마지막 일괄 처리 및 현재 일괄 처리를 편집한 다음 다시 구문 분석합니다.

Error(OutputDestination, String)

오류에 대한 출력을 정의합니다.

ExecuteShellCommand(String)

셸 명령을 실행합니다.

Exit(String, String)

마지막 일괄 처리 및 매개 변수를 실행한 다음 종료합니다.

Help()

도움말을 표시합니다.

IncludeFileName(String, IBatchSource)

지정된 파일을 현재 파일의 일부인 것처럼 구문 분석합니다.

List(String)

일괄 처리를 나열합니다.

ListVar(String)

변수 목록을 반환합니다.

OnError(ErrorAction)

오류 발생 시 수행할 동작을 정의합니다.

Out(OutputDestination, String)

명령 출력을 정의합니다.

PerfTrace(OutputDestination, String)

성능 추적 출력을 정의합니다.

ProcessBatch(String, Int32)

일괄 처리 구분 기호를 만나면 해당 일괄 처리를 처리합니다.

Quit()

일괄 처리 실행을 중지한 다음 종료합니다.

Reset()

Transact-SQL 일괄 처리를 지웁니다.

ServerList()

공급자를 통해 사용할 수 있는 서버 목록을 반환합니다.

Xml(XmlStatus)

XML 모드를 설정 또는 해제로 전환합니다.

적용 대상