Share via


SourceInfo.Filename Property

Gets the name of source file in which the exception was thrown.

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 SourceInfo
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 containing the name of the source file.