Freigeben über


ConfigProperty-Klasse

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

Vererbungshierarchie

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

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

Syntax

'Declaration
Public NotInheritable Class ConfigProperty
'Usage
Dim instance As ConfigProperty
public sealed class ConfigProperty
public ref class ConfigProperty sealed
[<SealedAttribute>]
type ConfigProperty =  class end
public final class ConfigProperty

Der ConfigProperty-Typ macht folgende Elemente verfügbar.

Eigenschaften

  Name Beschreibung
Öffentliche Eigenschaft ConfigValue Gets or sets the new value of the configuration option.
Öffentliche Eigenschaft Description Gets a textual description of the configuration property.
Öffentliche Eigenschaft DisplayName Gets the name of the configuration option being modified.
Öffentliche Eigenschaft IsAdvanced Gets the Boolean property value that specifies whether the configuration option is an advanced option.
Öffentliche Eigenschaft 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.
Öffentliche Eigenschaft Maximum Gets the maximum value to which the configuration option can be set.
Öffentliche Eigenschaft Minimum Gets the maximum value to which the configuration option can be set.
Öffentliche Eigenschaft Number Gets the index position of the configuration option.
Öffentliche Eigenschaft RunValue Gets the current running value of the configuration option.

Zum Anfang

Methoden

  Name Beschreibung
Öffentliche Methode Equals (Geerbt von Object.)
Geschützte Methode Finalize (Geerbt von Object.)
Öffentliche Methode GetHashCode (Geerbt von Object.)
Öffentliche Methode GetType (Geerbt von Object.)
Geschützte Methode MemberwiseClone (Geerbt von Object.)
Öffentliche Methode ToString (Geerbt von Object.)

Zum Anfang

Hinweise

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

Alle öffentlichen, statischen Elemente dieses Typs (Shared in Microsoft Visual Basic) sind für Vorgänge mit mehreren Threads sicher. Für Instanzelemente kann nicht sichergestellt werden, dass sie für Threads sicher sind.

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic)-Elemente dieses Typs sind Threadsicher. Für Instanzelemente wird die Threadsicherheit nicht gewährleistet.