ConfigProperty Class

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

命名空间: Microsoft.SqlServer.Management.Smo
程序集: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

语法

声明
Public NotInheritable Class ConfigProperty
public sealed class ConfigProperty
public ref class ConfigProperty sealed
public final class ConfigProperty
public final class ConfigProperty

备注

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

仅 Microsoft .NET Framework 的 2.0 版本支持此命名空间、类或成员。

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

示例

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

线程安全

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.

平台

开发平台

有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。

目标平台

有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。

请参阅

参考

ConfigProperty Members
Microsoft.SqlServer.Management.Smo Namespace

其他资源

Configuring SQL Server in SMO
设置服务器配置选项