ConfigProperty 類別
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。) | |
Finalize | (繼承自 Object。) | |
GetHashCode | (繼承自 Object。) | |
GetType | (繼承自 Object。) | |
MemberwiseClone | (繼承自 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 為共用) 成員具備多執行緒作業安全。不保證所有執行個體成員都是安全執行緒。
執行緒安全性
這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。