ServerMessageEventArgs 클래스
Provides information about a server message event.
상속 계층
System. . :: . .Object
System. . :: . .EventArgs
Microsoft.SqlServer.Management.MultiServerConnection..::..ServerMessageEventArgs
네임스페이스: Microsoft.SqlServer.Management.MultiServerConnection
어셈블리: Microsoft.SqlServer.Management.MultiServerConnection(Microsoft.SqlServer.Management.MultiServerConnection.dll)
구문
‘선언
Public Class ServerMessageEventArgs _
Inherits EventArgs _
Implements IResultInfo
‘사용 방법
Dim instance As ServerMessageEventArgs
public class ServerMessageEventArgs : EventArgs,
IResultInfo
public ref class ServerMessageEventArgs : public EventArgs,
IResultInfo
type ServerMessageEventArgs =
class
inherit EventArgs
interface IResultInfo
end
public class ServerMessageEventArgs extends EventArgs implements IResultInfo
ServerMessageEventArgs 유형에서 다음 멤버를 표시합니다.
생성자
이름 | 설명 | |
---|---|---|
ServerMessageEventArgs | Initializes a new instance of the ServerMessageEventArgs class. |
맨 위로 이동
속성
이름 | 설명 | |
---|---|---|
BatchStartingLine | Gets the starting line of the batch in the editor. | |
BatchText | Gets the text of the Transact-SQL batch that was executed. | |
CompletedSuccessfully | Gets true if execution was successful, false if there was an exception. | |
ConnectionInfo | Gets the connection info of the connection producing the result. | |
Errors | Gets the messages that were returned by the server. | |
Exception | Gets the exception that was thrown while executing the Transact-SQL batch. | |
ExecutionTime | Gets the amount of client wall-time it took to get the result back from the server. | |
LoginName | Gets the name of the login executing the batch. | |
ServerDisplayName | Gets the display name of the server where the batch was executed. | |
ServerName | Gets the name of the server where the batch was executed. | |
StartTime | Gets the time when the batch was submitted. |
맨 위로 이동
메서드
이름 | 설명 | |
---|---|---|
Equals | (Object에서 상속됨) | |
Finalize | (Object에서 상속됨) | |
GetHashCode | (Object에서 상속됨) | |
GetType | (Object에서 상속됨) | |
MemberwiseClone | (Object에서 상속됨) | |
ToString | (Object에서 상속됨) |
맨 위로 이동
스레드 보안
이 유형의 모든 공용 static(Visual Basic에서는 Shared) 멤버는 스레드로부터 안전합니다. 인스턴스 멤버는 스레드로부터의 안전성이 보장되지 않습니다.