SqlException.BatchCommand 属性

定义

获取生成错误的 BatchCommand 实例,如果未从批处理中引发异常,则为 null。

public:
 property Microsoft::Data::SqlClient::SqlBatchCommand ^ BatchCommand { Microsoft::Data::SqlClient::SqlBatchCommand ^ get(); };
public Microsoft.Data.SqlClient.SqlBatchCommand BatchCommand { get; }
member this.BatchCommand : Microsoft.Data.SqlClient.SqlBatchCommand
Public ReadOnly Property BatchCommand As SqlBatchCommand

属性值

BatchCommand 对象或 null

适用于

另请参阅