Класс 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

Все общие статические члены этого типа (Shared в Microsoft Visual Basic) можно использовать в многопоточных операциях. Безопасная многопоточная работа с членами экземпляров типа не гарантируется.

Безопасность многопоточности

Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.