Partilhar via


Configuration Class

The Configuration class contains the configuration information for the instance of Microsoft SQL Server.

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

Syntax

'Declaration
Public Class Configuration
    Inherits ConfigurationBase
public class Configuration : ConfigurationBase
public ref class Configuration : public ConfigurationBase
public class Configuration extends ConfigurationBase
public class Configuration extends ConfigurationBase

Remarks

Updated text:12 December 2006

Updated text:17 July 2006

Modifying the Configuration object is equivalent to using the Transact-SQL sp_configure statement.

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

To get Configuration object properties, users can be a member of the public fixed server role.

Inheritance Hierarchy

System.Object
   Microsoft.SqlServer.Management.Smo.ConfigurationBase
    Microsoft.SqlServer.Management.Smo.Configuration

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

Configuration Members
Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Configuring SQL Server in SMO
Setting Server Configuration Options
sp_configure (Transact-SQL)

Change History

Release

History

12 December 2006

Changed content:
  • Added the CommonCriteriaComplianceEnabled property.

17 July 2006

Changed content:
  • Added to the description in the Remarks section.