The Value property returns the Xml as a string. When this property is accessed for the first time, a request is opened on the connection, the Xml data is retrieved from the Advanced SQL Engine, and is stored into a System.String.
There is a limit of 16 requests per a connection that an application can have concurrently opened. If Value is accessed when 16 requests are open, a TdException will get thrown indicating that the maximum limit of streams are open.
A request on a connection will be open when the following occurs:
Product | Versions | Platforms |
---|---|---|
.NET | 6, 7 | Windows, Linux, MacOS |
.NET Framework | 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8 | Windows |
.NET Standard | 2.0 | Windows, Linux, MacOS |