DataCommand.ExecuteWithoutResults 메서드 (String)
명령을 실행 하지만 대신 호출의 결과 나타내는 정수를 반환 하는 결과 요청 하지 않습니다.
네임스페이스: Microsoft.VisualStudio.Data.Framework
어셈블리: Microsoft.VisualStudio.Data.Framework(Microsoft.VisualStudio.Data.Framework.dll)
구문
‘선언
Public Function ExecuteWithoutResults ( _
command As String _
) As Integer
public int ExecuteWithoutResults(
string command
)
public:
virtual int ExecuteWithoutResults(
String^ command
) sealed
abstract ExecuteWithoutResults :
command:string -> int
override ExecuteWithoutResults :
command:string -> int
public final function ExecuteWithoutResults(
command : String
) : int
매개 변수
- command
형식: System.String
데이터 원본에 관련 된 명령이 실행 됩니다.
반환 값
형식: System.Int32
DDEX 공급자 정수 상태 코드입니다.
구현
IVsDataCommand.ExecuteWithoutResults(String)
예외
예외 | 조건 |
---|---|
ArgumentNullException | command 매개 변수가 nullNull 참조(Visual Basic의 경우 Nothing)입니다. |
설명
대부분의 경우이 메서드 호출의 결과 영향을 받는 행 수를 나타냅니다.
[!참고]
다른 예외 발생할 실행 공급자가 지정한 이유로 실패를 나타내는.
.NET Framework 보안
- 직접 실행 호출자의 경우 완전히 신뢰합니다. 이 멤버는 부분적으로 신뢰할 수 있는 코드에서 사용할 수 없습니다. 자세한 내용은 부분 신뢰 코드에서 라이브러리 사용을 참조하십시오.