Share via


TSqlCompilationError.FileName Property

Gets the name of the source file in which the error occurred.

Namespace:  Microsoft.SqlServer.Management.Dac
Assembly:  Microsoft.SqlServer.Management.Dac (in Microsoft.SqlServer.Management.Dac.dll)

Syntax

'Declaration
Public ReadOnly Property FileName As String
    Get
'Usage
Dim instance As TSqlCompilationError
Dim value As String

value = instance.FileName
public string FileName { get; }
public:
property String^ FileName {
    String^ get ();
}
member FileName : string
function get FileName () : String

Property Value

Type: System.String
A String value containing the name of the source file.