SqlExecutionException.Commands Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the SQL commands being run when the exception occurred.
public:
property System::String ^ Commands { System::String ^ get(); };
public string Commands { get; }
member this.Commands : string
Public ReadOnly Property Commands As String
Property Value
The SQL commands being run when the exception occurred.
Examples
The following code example shows how to access the Commands property of the SqlExecutionException exception type. This code example is part of a larger example provided for the SqlServices class.
Console.WriteLine(" Commands: {0}",
sqlExecutionException.Commands);
Console.WriteLine(" Commands: {0}", _
sqlExecutionException.Commands)
Applies to
GitHub पर हमारे साथ सहयोग करें
इस सामग्री का स्रोत GitHub पर पाया जा सकता है, जहाँ आप समस्याएँ बना और समीक्षा भी कर सकते हैं और अनुरोध खींच सकते हैं. अधिक जानकारी के लिए, हमारे योगदानकर्ता गाइड देखें.