次の方法で共有


Registry Object

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

The Registry object exposes the Windows registry settings that maintain an instance of Microsoft SQL Server and run-time parameters.

現在のオブジェクトを表す SQL-DMO オブジェクト モデル

Properties

AutostartDTC Property

NTEventLogging Property

AutostartLicensing Property

NumberOfProcessors Property

AutostartMail Property

PerfMonMode Property

AutostartServer Property

PhysicalMemory Property

CaseSensitive Property

RegisteredOwner Property

CharacterSet Property

ReplicationInstalled Property

ErrorLogPath Property

SortOrder Property

MailAccountName Property

SQLDataRoot Property

MailPassword Property

SQLRootPath Property

MasterDBPath Property

TapeLoadWaitTime Property

解説

With the Registry object, you can:

  • Retrieve SQL Server parameters set during installation, such as the registered owner, character set, and sort order.
  • Set system start behavior for an instance of SQL Server.
  • Configure SQL Server mail account information.
  • Configure SQL Server default data-log and error-log paths, or set the path for the SQL Server master database.

Changes to property values of the Registry object are applied to the referenced instance of SQL Server as they are made.

ms132108.note(ja-jp,SQL.90).gifメモ :
The Registry object is compatible with instances of SQL Server versions 7.0 and later. However, the Registry2 object extends the functionality of the Registry object for use with features that were introduced in SQL Server 2000.

To set a SQL Server run-time parameter

  1. Get the Registry object from a connected SQLServer object.

  2. Set the parameter. For example, to cause the SQL Server service (MSSQLServer) to start automatically when the system is started, set the AutostartServer property to TRUE.

参照

関連項目

Registry2 Object

ヘルプおよび情報

SQL Server 2005 の参考資料の入手