共用方式為


EventFileInvalidException.FileName 屬性

Gets or sets the name of the file the exception refers to.

命名空間:  Microsoft.SqlServer.XEvent.Linq
組件:  Microsoft.SqlServer.XEvent.Linq (在 Microsoft.SqlServer.XEvent.Linq.dll 中)

語法

'宣告
Public Property FileName As String 
    Get 
    Set
'用途
Dim instance As EventFileInvalidException 
Dim value As String 

value = instance.FileName

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

屬性值

型別:System.String
The name of the file the exception refers to.

請參閱

參考

EventFileInvalidException 類別

Microsoft.SqlServer.XEvent.Linq 命名空間