ProcessOutputBuffer Property
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 )
Parts
object
Expression that evaluates to an object in the Applies To list
ProcessID
Long integer that identifies a SQL Server process ID
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 using SysFreeString.
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.