Registry Object (SQL-DMO)

The Registry object exposes the Microsoft® Windows NT® or Microsoft Windows® 95 registry settings maintaining a Microsoft SQL Server™ installation and run-time parameters.

Remarks

With the Registry object, you can:

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

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.
Properties
AutostartDTC Property NumberOfProcessors Property
AutostartLicensing Property PerfMonMode Property
AutostartMail Property PhysicalMemory Property
AutostartServer Property RegisteredOrganization 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
NTEventLogging Property  

  


(c) 1988-98 Microsoft Corporation. All Rights Reserved.