This documentation is archived and is not being maintained.

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

public static SqlPipe Pipe { get; }
/** @property */
public static SqlPipe get_Pipe ()

public static function get Pipe () : SqlPipe

Not applicable.

Property Value

An instance of SqlPipe if a pipe is available, or a null reference (Nothing in Visual Basic) 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.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0