NonQueryResult 클래스

Represents the results from a call to the ExecuteNonQuery method.

상속 계층

System.Object
  Microsoft.SqlServer.Management.MultiServerConnection.ResultInfo
    Microsoft.SqlServer.Management.MultiServerConnection.NonQueryResult

네임스페이스:  Microsoft.SqlServer.Management.MultiServerConnection
어셈블리:  Microsoft.SqlServer.Management.MultiServerConnection(Microsoft.SqlServer.Management.MultiServerConnection.dll)

구문

‘선언
Public NotInheritable Class NonQueryResult _
    Inherits ResultInfo
‘사용 방법
Dim instance As NonQueryResult
public sealed class NonQueryResult : ResultInfo
public ref class NonQueryResult sealed : public ResultInfo
[<SealedAttribute>]
type NonQueryResult =  
    class 
        inherit ResultInfo 
    end
public final class NonQueryResult extends ResultInfo

NonQueryResult 유형에서 다음 멤버를 표시합니다.

속성

  이름 설명
공용 속성 BatchStartingLine Gets the starting line of the batch in the editor. (ResultInfo에서 상속됨)
공용 속성 BatchText Gets the text of the Transact-SQL batch that was executed. (ResultInfo에서 상속됨)
공용 속성 CompletedSuccessfully Gets True if execution was successful, False if there was an exception. (ResultInfo에서 상속됨)
공용 속성 ConnectionInfo Gets the connection info of the connection producing the result. (ResultInfo에서 상속됨)
공용 속성 Exception Gets or sets the exception that was thrown while executing the Transact-SQL. (ResultInfo에서 상속됨)
공용 속성 ExecutionTime Gets or sets the amount of client wall-time it took to get the result back from the server. (ResultInfo에서 상속됨)
공용 속성 LoginName Gets the name of the login executing the batch. (ResultInfo에서 상속됨)
공용 속성 RowsAffected Gets or sets the number of rows that are affected by the ExecuteNonQuery method.
공용 속성 ServerDisplayName Gets the display name of the server where the batch was executed. (ResultInfo에서 상속됨)
공용 속성 ServerName Gets the name of the server where the batch was executed. (ResultInfo에서 상속됨)
공용 속성 StartTime Gets or sets the time when the batch was submitted. (ResultInfo에서 상속됨)

맨 위로 이동

메서드

  이름 설명
공용 메서드 Equals (Object에서 상속됨)
공용 메서드 GetHashCode (Object에서 상속됨)
공용 메서드 GetType (Object에서 상속됨)
공용 메서드 ToString Gets the string representation of the current object. (Object.ToString()을(를) 재정의함)

맨 위로 이동

스레드 보안

이 유형의 모든 공용 static(Visual Basic에서는 Shared) 멤버는 스레드로부터 안전합니다. 인스턴스 멤버는 스레드로부터의 안전성이 보장되지 않습니다.

참고 항목

참조

Microsoft.SqlServer.Management.MultiServerConnection 네임스페이스