Share via


SqlException.BatchCommand Proprietà

Definizione

Ottiene l'istanza di BatchCommand che ha generato l'errore o null se l'eccezione non è stata generata da un batch.

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

Valore della proprietà

Oggetto BatchCommand o Null

Si applica a

Vedi anche