IVsDataCommand.Execute 메서드 (String, DataCommandType, array<IVsDataParameter[], Int32)

클래스에서 구현 될 때 지정 된 명령을 실행 하 고 읽기 전용 결과 반환 합니다.

네임스페이스:  Microsoft.VisualStudio.Data.Services.SupportEntities
어셈블리:  Microsoft.VisualStudio.Data.Services(Microsoft.VisualStudio.Data.Services.dll)

구문

‘선언
Function Execute ( _
    command As String, _
    commandType As DataCommandType, _
    parameters As IVsDataParameter(), _
    commandTimeout As Integer _
) As IVsDataReader
IVsDataReader Execute(
    string command,
    DataCommandType commandType,
    IVsDataParameter[] parameters,
    int commandTimeout
)
IVsDataReader^ Execute(
    String^ command, 
    DataCommandType commandType, 
    array<IVsDataParameter^>^ parameters, 
    int commandTimeout
)
abstract Execute : 
        command:string * 
        commandType:DataCommandType * 
        parameters:IVsDataParameter[] * 
        commandTimeout:int -> IVsDataReader
function Execute(
    command : String, 
    commandType : DataCommandType, 
    parameters : IVsDataParameter[], 
    commandTimeout : int
) : IVsDataReader

매개 변수

  • command
    형식: String

    데이터 원본에 관련 된 명령이 실행 됩니다.

  • commandTimeout
    형식: Int32

    실행을 취소 하 고 호출자에 반환 하기 전에 클라이언트가 차단 초 단위로 시간 길이입니다. 값 0은 제한 시간이 없음을 나타냅니다. 값-1의 기본을 공급자를 나타냅니다.

반환 값

형식: Microsoft.VisualStudio.Data.Services.SupportEntities.IVsDataReader
IVsDataReader 개체를 데이터 원본에서 전진 전용, 읽기 전용 스트림을 제공 합니다.

.NET Framework 보안

참고 항목

참조

IVsDataCommand 인터페이스

Execute 오버로드

Microsoft.VisualStudio.Data.Services.SupportEntities 네임스페이스