ServerMessageEventArgs.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.