ProcessOutputBuffer Property (SQL-DMO)

The ProcessOutputBuffer property returns the contents of the memory used by a Microsoft® SQL Server™ process for output.

Applies To

SQLServer Object

Syntax

object.ProcessOutputBuffer( ProcessID )

Part Description
object Expression that evaluates to an object in the Applies To list
ProcessID Long integer identifying a SQL Server process ID

Remarks

For each sixteen bytes of data in the process output buffer, ProcessOutputBuffer returns a formatted string consisting of an address, hexadecimal representation of the first sixteen bytes of data found at that address, character representation of those sixteen bytes, and carriage return/line feed sequence.

Data Type

String

Modifiable

Read-only

Prototype (C/C++)

HRESULT GetProcessOutputBuffer(
long lProcessID,
SQLDMO_LPBSTR pRetVal);


Note SQL-DMO strings are always returned as OLE BSTR objects. A C/C++ application obtains a reference to the string. The application must release the reference by using SysFreeString.


  


(c) 1988-98 Microsoft Corporation. All Rights Reserved.