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)

Syntax

'Declaration
Public NotInheritable Class ConfigProperty
public sealed class ConfigProperty
public ref class ConfigProperty sealed
public final class ConfigProperty
public final class ConfigProperty

Remarks

The ConfigProperty object is used to modify or retrieve information about configuration options that are children of the Configuration object.

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

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.

Inheritance Hierarchy

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

Example

How to: Modify SQL Server Configuration Options in Visual Basic .NET

Thread Safety

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

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

ConfigProperty Members
Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Configuring SQL Server in SMO
Setting Server Configuration Options