다음을 통해 공유


ReconfigureWithOverride Method

Microsoft SQL Server의 이후 버전에서는 이 기능이 제거됩니다. 새 개발 작업에서는 이 기능을 사용하지 않도록 하고, 현재 이 기능을 사용하는 응용 프로그램은 수정하십시오.

The ReconfigureWithOverride method applies changes to configuration options made by changing the properties of the ConfigValue objects contained in the Configuration object's u collection.

구문

object
.ReconfigureWithOverride(
)

Parts

  • object
    Expression that evaluates to an object in the Applies To list.

Prototype (C/C++)

HRESULT ReconfigureWithOverride();

주의

Use the ReconfigureWithOverride method to disable option value validity checking when using the ConfigValue object to set Microsoft SQL Server configuration options.

중요 정보중요

Some configuration option changes applied by setting ConfigValue object properties and using the ReconfigureWithOverride method take effect immediately. Other changes require that the SQL Server service be stopped and restarted. When a change requires service restart, you must first apply the change by using ReconfigureWithOverride, then stop and start the SQL Server service.

Setting configuration options by using the ConfigValue object and ReconfigureWithOverride method requires appropriate permission. The SQL Server login used for SQLServer object connection must be a member of the fixed server role sysadmin.

Applies To:

참고 항목

참조