SqlExecutionException.SqlFile 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 path and name of the file containing the SQL commands being run when the exception occurred.
public:
property System::String ^ SqlFile { System::String ^ get(); };
public string SqlFile { get; }
member this.SqlFile : string
Public ReadOnly Property SqlFile As String
Property Value
The path and name of the file that contains the SQL commands being run when the exception occurred.
Examples
The following code example shows how to access the SqlFile property of the SqlExecutionException exception type. This code example is part of a larger example provided for the SqlServices class.
Console.WriteLine(" SqlFile: {0}",
sqlExecutionException.SqlFile);
Console.WriteLine(" SqlFile: {0}", _
sqlExecutionException.SqlFile)
Applies to
.NET
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示