ScriptAlter 方法

Runs a Transact-SQL script that updates the objects property changes on the instance of SQL Server.

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

语法

声明
Protected Overrides Sub ScriptAlter ( _
    alterQuery As StringCollection, _
    so As ScriptingOptions _
)
用法
Dim alterQuery As StringCollection
Dim so As ScriptingOptions

Me.ScriptAlter(alterQuery, so)
protected override void ScriptAlter(
    StringCollection alterQuery,
    ScriptingOptions so
)
protected:
virtual void ScriptAlter(
    StringCollection^ alterQuery, 
    ScriptingOptions^ so
) override
abstract ScriptAlter : 
        alterQuery:StringCollection * 
        so:ScriptingOptions -> unit 
override ScriptAlter : 
        alterQuery:StringCollection * 
        so:ScriptingOptions -> unit 
protected override function ScriptAlter(
    alterQuery : StringCollection, 
    so : ScriptingOptions
)

参数