Export (0) Print
Expand All

ConfigProperty Class

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

Object
  Microsoft.SqlServer.Management.Smo::ConfigProperty

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

public ref class ConfigProperty sealed

The ConfigProperty type exposes the following members.

  NameDescription
Public propertyConfigValueGets or sets the new value of the configuration option.
Public propertyDescriptionGets a textual description of the configuration property.
Public propertyDisplayNameGets the name of the configuration option being modified.
Public propertyIsAdvancedGets the Boolean property value that specifies whether the configuration option is an advanced option.
Public propertyIsDynamicGets the Boolean property value that specifies whether the configuration option is immediately updated or waits until the instance of Microsoft SQL Server is restarted.
Public propertyMaximumGets the maximum value to which the configuration option can be set.
Public propertyMinimumGets the maximum value to which the configuration option can be set.
Public propertyNumberGets the index position of the configuration option.
Public propertyRunValueGets the current running value of the configuration option.
Top

  NameDescription
Public methodEquals (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top

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

Any public static (Shared in Microsoft Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft