ErrorLogPath Property

この機能は、将来のバージョンの Microsoft SQL Server では削除される予定です。新規の開発作業ではこの機能を使用しないようにし、現在この機能を使用しているアプリケーションは修正することを検討してください。

The ErrorLogPath property specifies the operating system path and file name of the Microsoft SQL Server error log.

構文

object
.ErrorLogPath [=value]

Parts

  • object
    An expression that evaluates to an object in the Applies To list
  • value
    A string that specifies an operating system file

Data Type

String

Modifiable

Read/write

Prototype (C/C++)

HRESULT GetErrorLogPath(SQLDMO_LPBSTR pRetVal);
HRESULT SetErrorLogPath(SQLDMO_LPCSTR NewValue);
ms132024.note(ja-jp,SQL.90).gifメモ :
SQL Distributed Management Objects (SQL-DMO) strings are always returned as OLE BSTR objects. A C/C++ application obtains a reference to the string. The application must release the reference using SysFreeString.

解説

When using the ErrorLogPath property to specify an error log file name, set only the path-qualified file name. Do not specify a file name extension. SQL Server appends an integer as an extension, using the value to indicate the current error log file.

Applies To:

Registry Object