Gets the name of the stored procedure, SQL Statement or remote procedure call (RPC) that generated the error.
public string Procedure {get;}
Property Value
The name of the stored procedure or RPC. For more information on errors generated
by SQL Server, see Database Engine Events and Errors.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2