共用方式為


ErrorLogPath 屬性

Gets the file directory where the error log is stored on the instance of SQL Server.

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

語法

'宣告
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property ErrorLogPath As String
    Get
'用途
Dim instance As Information
Dim value As String

value = instance.ErrorLogPath
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public string ErrorLogPath { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property String^ ErrorLogPath {
    String^ get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member ErrorLogPath : string
function get ErrorLogPath () : String

屬性值

型別:System. . :: . .String
A String value that specifies the error log file location on the instance of SQL Server.