SqlSystem.logfileName Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
logfileName() |
Retrieves the name of the standard SQL error log file. |
logfileName(Boolean) |
logfileName()
Retrieves the name of the standard SQL error log file.
public:
virtual System::String ^ logfileName();
public virtual string logfileName ();
abstract member logfileName : unit -> string
override this.logfileName : unit -> string
Public Overridable Function logfileName () As String
Returns
The file name of the standard SQL error log file.
Remarks
In version 2.11 or higher, an empty string is returned (for backward compatibility). Use the filenameSqlError method to retrieve the log file name.
Applies to
logfileName(Boolean)
public:
virtual System::String ^ logfileName(bool _fromCommandline);
public virtual string logfileName (bool _fromCommandline);
abstract member logfileName : bool -> string
override this.logfileName : bool -> string
Public Overridable Function logfileName (_fromCommandline As Boolean) As String
Parameters
- _fromCommandline
- Boolean
A boolean value. Passing a non-zero value as parameter makes the call return the logfile name passed on the command line; optional.