SqlContext.Pipe Property

Definition

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

public:
 static property Microsoft::SqlServer::Server::SqlPipe ^ Pipe { Microsoft::SqlServer::Server::SqlPipe ^ get(); };
public static Microsoft.SqlServer.Server.SqlPipe Pipe { get; }
static member Pipe : Microsoft.SqlServer.Server.SqlPipe
Public Shared ReadOnly Property Pipe As SqlPipe

Property Value

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).

Remarks

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

This property is read-only.

Applies to