ConfigurationBase.Alter 方法

Updates the Configuration object property changes on the instance of SQL Server. 

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
Public Sub Alter
用法
Dim instance As ConfigurationBase

instance.Alter()
public void Alter()
public:
void Alter()
member Alter : unit -> unit
public function Alter()

注释

The Alter method updates any changes that have been made to the Configuration object properties since the Column object since the last Alter statement. The modifications are combined and sent to the instance of SQL Server in a single network trip to the instance of SQL Server.

示例

在 SMO 中配置 SQL Server

请参阅

参考

ConfigurationBase 类

Alter 重载

Microsoft.SqlServer.Management.Smo 命名空间

其他资源

服务器配置选项

sp_configure (Transact-SQL)