Error 속성

Gets the error associated with the server message event.

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

구문

‘선언
Public ReadOnly Property Error As SqlError
    Get
‘사용 방법
Dim instance As ServerMessageEventArgs
Dim value As SqlError

value = instance.Error
public SqlError Error { get; }
public:
property SqlError^ Error {
    SqlError^ get ();
}
member Error : SqlError
function get Error () : SqlError

속성 값

유형: System.Data.SqlClient. . :: . .SqlError
A SqlError system object value that specifies the error associated with the server message event.