SqlPipe.Send Method (SqlDataReader)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Sends a multirow result set directly to the client or current output consumer.

Namespace:   Microsoft.SqlServer.Server
Assembly:  System.Data (in System.Data.dll)

public void Send(
	SqlDataReader reader


Type: System.Data.SqlClient.SqlDataReader

The multirow result set to be sent to the client: a SqlDataReader object.

Exception Condition

The reader is null.

If the SqlDataReader object passed in as a parameter has hidden columns, those columns are not propagated to the result set sent to the client.

.NET Framework
Available since 2.0
Return to top