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 中的 Shared)成员在多线程操作中是安全的。 不保证所有实例成员都对于线程安全的。

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。