Classe ConfigProperty
The ConfigProperty object contains information pertaining to a Microsoft SQL Server configuration option, such as maximum, minimum, current, and new values.
Hiérarchie d'héritage
System. . :: . .Object
Microsoft.SqlServer.Management.Smo..::..ConfigProperty
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
Public NotInheritable Class ConfigProperty
'Utilisation
Dim instance As ConfigProperty
public sealed class ConfigProperty
public ref class ConfigProperty sealed
[<SealedAttribute>]
type ConfigProperty = class end
public final class ConfigProperty
Le type ConfigProperty expose les membres suivants.
Propriétés
Nom | Description | |
---|---|---|
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. |
Haut de la page
Méthodes
Nom | Description | |
---|---|---|
Equals | (hérité de Object.) | |
Finalize | (hérité de Object.) | |
GetHashCode | (hérité de Object.) | |
GetType | (hérité de Object.) | |
MemberwiseClone | (hérité de Object.) | |
ToString | (hérité de Object.) |
Haut de la page
Notes
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
Tout membre statique public (Partagé dans Microsoft Visual Basic) de ce type est sûr dans le cadre des opérations à plusieurs threads. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.
Sécurité des threads
Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.
Voir aussi