Classe ConfigProperty

The ConfigProperty object contains information pertaining to a Microsoft SQL Server configuration option, such as maximum, minimum, current, and new values.

Hierarquia de herança

System. . :: . .Object
  Microsoft.SqlServer.Management.Smo..::..ConfigProperty

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)

Sintaxe

'Declaração
Public NotInheritable Class ConfigProperty
'Uso
Dim instance As ConfigProperty
public sealed class ConfigProperty
public ref class ConfigProperty sealed
[<SealedAttribute>]
type ConfigProperty =  class end
public final class ConfigProperty

O tipo ConfigProperty expõe os membros a seguir.

Propriedades

  Nome Descrição
Propriedade pública ConfigValue Gets or sets the new value of the configuration option.
Propriedade pública Description Gets a textual description of the configuration property.
Propriedade pública DisplayName Gets the name of the configuration option being modified.
Propriedade pública IsAdvanced Gets the Boolean property value that specifies whether the configuration option is an advanced option.
Propriedade pública 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.
Propriedade pública Maximum Gets the maximum value to which the configuration option can be set.
Propriedade pública Minimum Gets the maximum value to which the configuration option can be set.
Propriedade pública Number Gets the index position of the configuration option.
Propriedade pública RunValue Gets the current running value of the configuration option.

Início

Métodos

  Nome Descrição
Método público Equals (Herdado de Object.)
Método protegido Finalize (Herdado de Object.)
Método público GetHashCode (Herdado de Object.)
Método público GetType (Herdado de Object.)
Método protegido MemberwiseClone (Herdado de Object.)
Método público ToString (Herdado de Object.)

Início

Comentários

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

Qualquer membro público estático (Compartilhado no Microsoft Visual Basic) desse tipo é seguro para operações multi-threaded. Não há garantia de que qualquer membro de instância seja seguro para threads.

Segurança de thread

Qualquer membro público static (Shared no Visual Basic) desse tipo é seguro para threads. Não há garantia de que qualquer membro de instância seja seguro para threads.