SqlContext::Pipe Property

 
System_CAPS_noteNote

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

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:
property SqlPipe^ Pipe {
	static SqlPipe^ 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
Show: