SqlContext.Pipe Property


Gets the pipe object that allows the caller to send result sets, messages, and the results of executing commands back to the client.

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

public static SqlPipe Pipe { get; }

Property Value

Type: Microsoft.SqlServer.Server.SqlPipe

An instance of SqlPipe if a pipe is available, or null if called in a context where pipe is not available (for example, in a user-defined function).

If invoked from outside SQL Server, a NotSupportedException is thrown.

This property is read-only.

.NET Framework
Available since 2.0
Return to top