共用方式為


FileName 屬性

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

命名空間:  Microsoft.SqlServer.Management.Dac
組件:  Microsoft.SqlServer.Management.Dac (在 Microsoft.SqlServer.Management.Dac.dll 中)

語法

'宣告
Public ReadOnly Property FileName As String
    Get
'用途
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

屬性值

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