Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Pipe Property
Collapse the table of content
Expand the table of content

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

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft