The ProcessOutputBuffer property returns the contents of the memory used by a Microsoft® SQL Server™ process for output.
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 |
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.
String
Read-only
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.