ConfigProperty Class

 

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

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

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

public sealed class ConfigProperty

NameDescription
System_CAPS_pubpropertyConfigValue

Gets or sets the new value of the configuration option.

System_CAPS_pubpropertyDescription

Gets a textual description of the configuration property.

System_CAPS_pubpropertyDisplayName

Gets the name of the configuration option being modified.

System_CAPS_pubpropertyIsAdvanced

Gets the Boolean property value that specifies whether the configuration option is an advanced option.

System_CAPS_pubpropertyIsDynamic

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.

System_CAPS_pubpropertyMaximum

Gets the maximum value to which the configuration option can be set.

System_CAPS_pubpropertyMinimum

Gets the maximum value to which the configuration option can be set.

System_CAPS_pubpropertyNumber

Gets the index position of the configuration option.

System_CAPS_pubpropertyRunValue

Gets the current running value of the configuration option.

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from 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.

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.

Return to top
Show: