The ConfigProperty object contains information pertaining to a Microsoft SQL Server configuration option, such as maximum, minimum, current, and new values.
继承层次结构
System.Object
Microsoft.SqlServer.Management.Smo.ConfigProperty
命名空间: Microsoft.SqlServer.Management.Smo
程序集: Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)
语法
声明
Public NotInheritable Class ConfigProperty
用法
Dim instance As ConfigProperty
public sealed class ConfigProperty
public ref class ConfigProperty sealed
[<SealedAttribute>]
type ConfigProperty = class end
public final class ConfigProperty
ConfigProperty 类型公开以下成员。
属性
| 名称 | 说明 | |
|---|---|---|
![]() |
ConfigValue | Gets or sets the new value of the configuration option. |
![]() |
Description | Gets a textual description of the configuration property. |
![]() |
DisplayName | Gets the name of the configuration option being modified. |
![]() |
IsAdvanced | Gets the Boolean property value that specifies whether the configuration option is an advanced option. |
![]() |
IsDynamic | Gets the Boolean property value that specifies whether the configuration option is immediately updated or waits until the instance of Microsoft SQL Server is restarted. |
![]() |
Maximum | Gets the maximum value to which the configuration option can be set. |
![]() |
Minimum | Gets the maximum value to which the configuration option can be set. |
![]() |
Number | Gets the index position of the configuration option. |
![]() |
RunValue | Gets the current running value of the configuration option. |
页首
方法
| 名称 | 说明 | |
|---|---|---|
![]() |
Equals | (从 Object 继承。) |
![]() |
GetHashCode | (从 Object 继承。) |
![]() |
GetType | (从 Object 继承。) |
![]() |
ToString | (从 Object 继承。) |
页首
注释
The ConfigProperty object is used to modify or retrieve information about configuration options that are children of the Configuration object.
To get ConfigProperty object properties, users can be a member of the public fixed server role.
To set ConfigProperty object properties, users must have ALTER SETTINGS permission on the parent server, or be a member of the sysadmin and serveradmin fixed server role.
Thread Safety
此类型的任何公共静态(Microsoft Visual Basic 中的 Shared)成员在多线程操作中是安全的。但不保证所有实例成员都是线程安全的。
示例
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。
请参阅
参考
Microsoft.SqlServer.Management.Smo 命名空间
.gif)
.gif)