语言

SqlInfoMessageEventArgs.Source 属性

定义

获取生成错误的对象的名称。

对于新开发,请使用Microsoft。Data.SqlClient。 此页面记录 System.Data.SqlClient。

public:
 property System::String ^ Source { System::String ^ get(); };
public string Source { get; }
member this.Source : string
Public ReadOnly Property Source As String

属性值

生成错误的对象的名称。

注解

这是集合中第一Source个属性的SqlError包装器Errors。

适用于

另请参阅