共用方式為


ConfigValues Collection

未來的 Microsoft SQL Server 發行版本將不再提供此功能。請避免在新的開發工作中使用此功能,並計劃修改目前使用此功能的應用程式。

The ConfigValues collection contains ConfigValue objects that expose settings for configurable Microsoft SQL Server engine parameters.

顯示目前物件的 SQL-DMO 物件模型

Methods

Refresh Method

 

備註

The ConfigValues collection is fixed in membership and does not expose Add and Remove methods. The ShowAdvancedOptions property of the Configuration object controls the membership of the ConfigValues collection.

To reference a specific SQL Server engine parameter

  • Use the ConfigValues collection to reference a specific SQL Server engine parameter, for example:

    Set oConfigValue = oSQLServer.Configuration.ConfigValues("remote query timeout")
    

請參閱

其他資源

sp_configure (Transact-SQL)

說明及資訊

取得 SQL Server 2005 協助